Attean::Example - Example Class
This document describes Attean::Example version 0.007
use v5.14; | |
use Test::Modern; | |
use Attean; | |
use Attean::RDF; | |
use Attean::IDPQueryPlanner; | |
package AtteanX::API::JoinRotatingPlanner { | |
# Rotate joins like (A⋈B)⋈C to A⋈(B⋈C), with the ability to coalesce B⋈C (e.g. for adjacent BGPs) | |
use Moo::Role; | |
use namespace::clean; |
use v5.14; | |
use autodie; | |
use utf8; | |
use RDF::Query; | |
use Attean; | |
use Attean::TreeRewriter; | |
use AtteanX::RDFQueryTranslator; | |
my $sparql = <<"END"; |
// In response to: http://inessential.com/2015/06/21/swift_protocols_question | |
import Foundation | |
protocol Value: Equatable { | |
} | |
protocol Smashable { | |
func valueBySmashingOtherValue<T: Value, U: Value>(value: T) -> U | |
} |
use strict; | |
use warnings; | |
no warnings 'redefine'; | |
use utf8; | |
use RDF::Query; | |
use Attean; | |
use Attean::RDF; | |
use AtteanX::RDFQueryTranslator; |
use v5.14; | |
use autodie; | |
use utf8; | |
use RDF::Query; | |
use Attean; | |
use Attean::Algebra; | |
use Attean::Expression; | |
use Attean::TreeRewriter; |
Section 3.5 describes the expected formatting of hypermedia controls and says:
The hypermedia control fulfills the hypermedia constraint that each representation should contain the controls towards next steps. As a result,
I hereby claim:
To claim this, I am signing this object: