Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/lamdu/hypertypes

Hypertypes - generic programming for heterogeneous recursive types
https://github.com/lamdu/hypertypes

FromNom

34ce4c7835c8346e53c17db91416707f46e56976 authored about 6 years ago by Yair Chuchem <[email protected]>
remove unneeded constraint

406eacde0495d7b826971492571941d6c9b3c8e5 authored about 6 years ago by Yair Chuchem <[email protected]>
extract lookupParams

a782aea1199eca36fedaa2715a1dea7084e3027c authored about 6 years ago by Yair Chuchem <[email protected]>
remove unneeded type signature

73b8631c3acfd27d564fb559e85cd12b018c5d64 authored about 6 years ago by Yair Chuchem <[email protected]>
HasNominalInst class (like HasFuncType)

d85a469867fd1bc04322786170e015c35551bb69 authored about 6 years ago by Yair Chuchem <[email protected]>
AST.Term.Nominal newtypes support (currently only constructing)

2dfc0fbe5cffc2bf78ffb45331740374442cbf43 authored about 6 years ago by Yair Chuchem <[email protected]>
Remove AST.Term.Scheme.Load

Move loadScheme to AST.Term.Scheme
Other parts belong to the upcoming nominal terms

a41c16a6a1db5f929fd73fe78df9750f40c44390 authored about 6 years ago by Yair Chuchem <[email protected]>
style: move deriving instance boiler-plate to ends of files

This let's more easily read the actual interesting code :)
Note that there's more than 60 lines ...

097f94c6460409d8dccd6a3e1574d89841618d36 authored about 6 years ago by Yair Chuchem <[email protected]>
rename SchemeVars=>QVarValues

2354f99913dceab67afdc4f61806ff16d0d9a4e6 authored about 6 years ago by Yair Chuchem <[email protected]>
rename AST.Term.{Scope=>NamelessScope}

07d357186d1485f32e05f78524de68ed1591ce96 authored about 6 years ago by Yair Chuchem <[email protected]>
AST.Term.Scheme.Load

36209e128061ebc496b533dbc11d0fcb0dee7fc2 authored about 6 years ago by Yair Chuchem <[email protected]>
renames

068221ee3d642b51e32eb8be4e7e88b982e79f31 authored about 6 years ago by Yair Chuchem <[email protected]>
Remove the Instantiate class, simplify TypeSig

Oops!
The two instances of Instantiate weren't really the same thing!
One was used for let-gener...

d3e70879ccd6382995d82d65353a81db02eb6cdc authored about 6 years ago by Yair Chuchem <[email protected]>
remove inferRowExtend because not quite sure it really generalizes over intended uses

5d60b4a2e74ef46545e918148f4192700e376c73 authored about 6 years ago by Yair Chuchem <[email protected]>
re-exports from AST.Unify

2a98ce520b4a4ced29550ab3ca016452b8a71078 authored about 6 years ago by Yair Chuchem <[email protected]>
ScopeConstraintsMonad=>MonadScopeConstraints

84505d76a97d33d062d25211af8450054ef53f5f authored about 6 years ago by Yair Chuchem <[email protected]>
Extract AST.Class.Unify

b26f5d109f8f42d813fef06a77af1aa8bcdb2e7d authored about 6 years ago by Yair Chuchem <[email protected]>
remove redundant constraint

ef949f4a41e196c89edecacdcdb9438028d008c0 authored about 6 years ago by Yair Chuchem <[email protected]>
remove more unneeded foralls

8a875413b57f5c3f00a9d961fc07ae97e2c52707 authored about 6 years ago by Yair Chuchem <[email protected]>
remove unneeded foralls

8761a98b66e19c677af93c1e3ae8688b2f4f7291 authored about 6 years ago by Yair Chuchem <[email protected]>
Extract MonadQuantify, less Proxys used

29bd53c7a6d6487991e3625808651cdc2572b423 authored about 6 years ago by Yair Chuchem <[email protected]>
Extract module AST.Unify.QuantifiedVar

Towards adding content :)

62c532e16f3923d7754595eaa32285c9acc94a95 authored about 6 years ago by Yair Chuchem <[email protected]>
AST.Unify.{PureBinding=>Binding.Pure} and likewise for STBinding

1f59482dbdcc6c3e6f5453787778d9e6187d75d5 authored about 6 years ago by Yair Chuchem <[email protected]>
remove export

ac85509b12b6bcddebe07a4160e4b5d9bcaebe00 authored about 6 years ago by Yair Chuchem <[email protected]>
extract AST.Unify.Binding

8ce69400bd7874a9bba73f6f7c6d08d5de19e0f7 authored about 6 years ago by Yair Chuchem <[email protected]>
Binding is parameterized on unification variable

7fa684d7b9f1c6a8c4c8cf0d3432bc9aa8fc2a84 authored about 6 years ago by Yair Chuchem <[email protected]>
let generalization properly supports constraints

a1474a9c10ed4e72843c533e2413c789f4b2a2b6 authored about 6 years ago by Yair Chuchem <[email protected]>
Extract ScopeConstraintsMonad class, less Proxy usage

And more re-use potential when different term types have same constraints

df5bd71ba1f75f1179f959f4f1453d8c1757fc07 authored about 6 years ago by Yair Chuchem <[email protected]>
oops remove unrelated export

0eadd5a8a7cf9434a95b80660f8c01c79d3be93e authored about 6 years ago by Yair Chuchem <[email protected]>
remove unused example code

fed56d9a3c40c208132e84d4eea928464ff930ab authored about 6 years ago by Yair Chuchem <[email protected]>
DRY, generalize instances

d3b54cb38eed568ff7f424a2ce92eb6282babed9 authored about 6 years ago by Yair Chuchem <[email protected]>
instances for ScopeLevel

698709927443ac056522fea6b2b858297a2f3122 authored about 6 years ago by Yair Chuchem <[email protected]>
more instances

ed7d2447ec2bf3f9b43a341d6e5113ff9ebd48c3 authored about 6 years ago by Yair Chuchem <[email protected]>
add instances

8018bb1c6d28f19d72526b7f4cdbf10bfeaa257d authored about 6 years ago by Yair Chuchem <[email protected]>
Scheme supports constraints

7f9d49175e4ff499648470302ef718907f13a1f6 authored about 6 years ago by Yair Chuchem <[email protected]>
BoundedJoinSemiLattice rather than Monoid

384132faf1279afd52220616d711c9ddab73a65c authored about 6 years ago by Yair Chuchem <[email protected]>
style

34f1159689ceef1fa403f9eb21187e6650e7bdb9 authored about 6 years ago by Yair Chuchem <[email protected]>
rename Vars=>ForAlls

67b88c1c2459d3ec274f3d4a3cc61ae16eae4d5f authored about 6 years ago by Yair Chuchem <[email protected]>
Fix name ForAlls=>Instantiation

ba905fb2059f44e9d6828121ba09e96357f08561 authored about 6 years ago by Yair Chuchem <[email protected]>
get-field in test language

fdc1ae948b18d79420ee2cd1dd290efefe66533d authored about 6 years ago by Yair Chuchem <[email protected]>
style in test

42df5e526cc80ee948c5f06a67a5513eede8d1bd authored about 6 years ago by Yair Chuchem <[email protected]>
Remove AST.Class.Recursive.TH

It doesn't offer a lot of value and doesn't work for all cases anyhow

10b163af6fa804fbf816897217afd8696e4f4af9 authored about 6 years ago by Yair Chuchem <[email protected]>
rowElementInfer helper

edcd6be162f226ec0d20be77fb56e92aba548299 authored about 6 years ago by Yair Chuchem <[email protected]>
add comments

be2fb4194ca560749ebeb17add42839b2f04b26f authored about 6 years ago by Yair Chuchem <[email protected]>
rename AST.Term.Row{Extend=>}

and renames in Row

cce2aadb3958512f8033f1f3259228ccc64681b9 authored about 6 years ago by Yair Chuchem <[email protected]>
cleanup

8e91275a8282371913b1a4cef0ae5d4a95e418f4 authored about 6 years ago by Yair Chuchem <[email protected]>
apply bindings on all types

Before this change a non-top-level occurs error would had slipped the check

dbbcd85802a8198ec9ffdb60fb15814224fcd1f9 authored about 6 years ago by Yair Chuchem <[email protected]>
generalize Recursive instances

626561ef7325ae1d36e05d476be53e709636cf02 authored about 6 years ago by Yair Chuchem <[email protected]>
rename Inferred=>ITerm

77b8ed666250e3baa739ffdd6fe960c52ae4bbd2 authored about 6 years ago by Yair Chuchem <[email protected]>
Inferred knot with Children instance for applying bindings on unification vars

5b24169a9a7845098f4a192aaa169f9f065c4d7c authored about 6 years ago by Yair Chuchem <[email protected]>
cleanup

877ba14c7cd8edcc3f04ce6e8243426cd36f9729 authored about 6 years ago by Yair Chuchem <[email protected]>
instance Children ScopeTypes

7a7859e5938d4c4d44da68eca41ee658d160cace authored about 6 years ago by Yair Chuchem <[email protected]>
Generalized type which has a children instance for the unification terms

28ebd1436e4dd34e8f837a279d3a98edd5376b66 authored about 6 years ago by Yair Chuchem <[email protected]>
add asTree helper

a1d5952ca05d42da3db7ac619df4aefff866cbc2 authored about 6 years ago by Yair Chuchem <[email protected]>
simpler ScopeTypes

2264a1a12aff89e961ecbc590175fc4c976cbe2a authored about 6 years ago by Yair Chuchem <[email protected]>
add prism

3114370504d524a89a020e78ba49e73db9d69f05 authored about 6 years ago by Yair Chuchem <[email protected]>
Remove SubTreeConstraint as it shouldnt be part of Children class

327ecf0471da30bff91ba2c18a84dbe791d38a8b authored about 6 years ago by Yair Chuchem <[email protected]>
add comment about RunKnot

d2b06737865019a355eeeea86e3121821812e7c9 authored about 6 years ago by Yair Chuchem <[email protected]>
closed type family

e15eb7acf4c5b40a57405aa1f32258192ec86b45 authored about 6 years ago by Yair Chuchem <[email protected]>
add instance

18d778f7be0d119f11770c0fb295162c3d621ce6 authored about 6 years ago by Yair Chuchem <[email protected]>
Revert "childrenNoConstraint method"

Manual instances will have less code to write

This reverts commit ba80bd86e49b53380f5397ba08400...

9674945f013c6e2d4746bd3075566880c74d6342 authored about 6 years ago by Yair Chuchem <[email protected]>
AST.Class.Combinators.NoConstraint

d3a9ae8b9d98944031ac445d66e669584ab30f14 authored about 6 years ago by Yair Chuchem <[email protected]>
work around an hlint parse limitation and hlint police

de728b75b253b8debe168b74b273246975ab26b1 authored about 6 years ago by Yair Chuchem <[email protected]>
hlint police

(not necessarily a change for the better but doesnt trigger hints)

a2426a2a460fef1d3b06965ad7ea50a82d3149b3 authored about 6 years ago by Yair Chuchem <[email protected]>
Type-safe forAll

cc26912a24b8f7ee5612baf31f58edffc6e69666 authored about 6 years ago by Eyal Lotem <[email protected]>
ordering & style

32fa7c905dbeecfd3d87dc893a09f26d7f3ad29a authored about 6 years ago by Yair Chuchem <[email protected]>
forall1 combinator, comments became redundant

5524db17cb087351eb4f1a6f5fadbf5a61b1a2c1 authored about 6 years ago by Eyal Lotem <[email protected]>
Explicitness about 9665 being left associative

6dc324e9dd4bce79beada42d681b843f569a2870 authored about 6 years ago by Eyal Lotem <[email protected]>
Rename 'scheme' to 'forAll'

f438f9df7a153629bfc1c14f9bb5ac871a09ad33 authored about 6 years ago by Eyal Lotem <[email protected]>
Fix Pretty precedences

b3e62efd39a057bb181dd071ad05fe7952d2ac37 authored about 6 years ago by Eyal Lotem <[email protected]>
Extract {LangA,LangB,TypeLang}.Pure modules

da05b7c7235ddd9f73b5705dfe928ef13e2ca39b authored about 6 years ago by Eyal Lotem <[email protected]>
add instance

1bbd9716d749079a96508b8fdd15a18c64d95037 authored about 6 years ago by Yair Chuchem <[email protected]>
AST.Unify.STBinding.Save

b5c2eaa5a207376682c02a02206fc0b7a46938d8 authored about 6 years ago by Yair Chuchem <[email protected]>
AST.Unify.STBinding.Load

d73be7b5ceda73000e131520869d919288d664ab authored about 6 years ago by Yair Chuchem <[email protected]>
childrenNoConstraint method

ba80bd86e49b53380f5397ba08400ec048c0f9b6 authored about 6 years ago by Yair Chuchem <[email protected]>
Infer also outputs scopes at each term

fdbedfa1149d0faf434ccbabac483316eea87e03 authored about 6 years ago by Yair Chuchem <[email protected]>
ScopeTypes is a knot

0518f41c15fd25650f71f220988e96de29f5405d authored about 6 years ago by Yair Chuchem <[email protected]>
small cleanup

0117c25fbdd25cac2038dc742596f60da86f9aa7 authored about 6 years ago by Yair Chuchem <[email protected]>
GTerm parameterized by unification var

021e30c04930a67bd48806329a9f7ace71ba76a1 authored about 6 years ago by Yair Chuchem <[email protected]>
Extract a more general LocalScopeType out of MonadScopeTypes

Allows to store a serializable scope

ff4ae1754db71ef11dde5305797d76bf8311de08 authored about 6 years ago by Yair Chuchem <[email protected]>
ScopeTypes is a newtype

ebda76062f5b8195c3a331b33d1b5cfe852c3ed5 authored about 6 years ago by Yair Chuchem <[email protected]>
type synonym

3557949c8c424a17ad4fb19cafc4013d16bb515e authored about 6 years ago by Yair Chuchem <[email protected]>
Extract AST.Term.Scope.InvDeBruijn

119559b17349a78296f5bc8e90ccbe8e46abd81d authored about 6 years ago by Yair Chuchem <[email protected]>
AST.Term.Scope uses Sequence for scope types based on debruijn indices

2372f296c840a4271e6da08ae5007ca97d69e37a authored about 6 years ago by Yair Chuchem <[email protected]>
rename TypeAST=>TypeOf

20332287164917cdc4b13fc4dd3cbeed840678cd authored about 6 years ago by Yair Chuchem <[email protected]>
remove type synonym

b3dc2e3e699aea2fefc535c442545c2004a0fbc2 authored about 6 years ago by Yair Chuchem <[email protected]>
Infer supports terms having different type asts

570f25fe2291331d58636e8bf3495a1a86ca2b0a authored about 6 years ago by Yair Chuchem <[email protected]>
detailed error reporting

2f0fdad60af102288af298f89f1a08f9a9fa9c19 authored about 6 years ago by Yair Chuchem <[email protected]>
extract AST.Unify.Error

6af2e4a105ae00c54f455349c947547ca65ab4d7 authored about 6 years ago by Yair Chuchem <[email protected]>
simplify structureMismatch

5a27eff31f61a13b081b7a2cc3bfa17e1793ca55 authored about 6 years ago by Yair Chuchem <[email protected]>
remove default implementation of unifyError and added mismatch error

34c3ccb6487f1c52ebf9cb2348b8dcf0b8527390 authored about 6 years ago by Yair Chuchem <[email protected]>
rename occurs=>occursError

b86f0a018acc028d0c30a92f934d3d57f4d983ee authored about 6 years ago by Yair Chuchem <[email protected]>
occurs is another UnifyError

Infinite term is now quantified to a variable for both error reporting,
and possibility of langu...

db22732abb312ea7646d57cc306c1c4bd51d3108 authored about 6 years ago by Yair Chuchem <[email protected]>
nicer pprints

f62903f49cce7d2b7b3e15be328e8687aa570b9a authored about 6 years ago by Yair Chuchem <[email protected]>
tests are actual tests now

4abff0ec8ec1f378080c6de17e5ca54641c860c4 authored about 6 years ago by Yair Chuchem <[email protected]>
UnifyError is a knot

3c35f9c1c7ce2e4c4adff617748eaae1769cec28 authored about 6 years ago by Yair Chuchem <[email protected]>
generalize UnifyError

8f39d5d5300d13bdafaad7594d9b5117ae7fbffc authored about 6 years ago by Yair Chuchem <[email protected]>
remove unused default implementation

c8e69257c4fa10c93bff7f9a070a6237ba7d0bf9 authored about 6 years ago by Yair Chuchem <[email protected]>
UnifyError sum type

9c33a8495d90b5ef99e80e37dd2f06e33f10178f authored about 6 years ago by Yair Chuchem <[email protected]>
simplify constraintsMismatch reporting

8ba2ffcb3349cd1a87db16f3dc9aaa1c1cf27efe authored about 6 years ago by Yair Chuchem <[email protected]>