Rob Rix
|
5dbf727985
|
Generalize in pure code.
|
2019-07-18 16:10:16 -04:00 |
|
Rob Rix
|
a83cdffa73
|
Define a function to close a term.
|
2019-07-18 16:08:32 -04:00 |
|
Rob Rix
|
8371475e43
|
Use hoistTerm to generalize monotypes to polytypes.
|
2019-07-18 16:02:52 -04:00 |
|
Rob Rix
|
29fc72f288
|
Define a hoisting operation over Term.
|
2019-07-18 15:56:14 -04:00 |
|
Rob Rix
|
2388800416
|
🔥 the duplication between Monotype & Polytype.
|
2019-07-18 15:53:30 -04:00 |
|
Rob Rix
|
3e7123ff85
|
🔥 the M prefixes on Monotype’s constructors.
|
2019-07-18 15:48:24 -04:00 |
|
Rob Rix
|
b81cbf2686
|
Represent Monotype in Term.
|
2019-07-18 15:46:47 -04:00 |
|
Rob Rix
|
a5151d34e1
|
Derive Eq, Ord, & Show instances for Polytype.
|
2019-07-18 15:31:53 -04:00 |
|
Rob Rix
|
fcfc81606a
|
Derive some more instances for Monotype.
|
2019-07-18 15:26:13 -04:00 |
|
Rob Rix
|
c4fa4faf5c
|
🔥 PBound/PFree.
|
2019-07-18 15:24:43 -04:00 |
|
Rob Rix
|
7763028709
|
🔥 MFree.
|
2019-07-18 15:23:59 -04:00 |
|
Rob Rix
|
a9894d026e
|
Bind polytypes as scope-safe syntax.
|
2019-07-18 15:21:57 -04:00 |
|
Rob Rix
|
05a309745b
|
Tidy up the language extensions.
|
2019-07-18 14:45:30 -04:00 |
|
Rob Rix
|
70f67c0165
|
🔥 the Syntax class.
|
2019-07-18 14:44:36 -04:00 |
|
Rob Rix
|
2743895e78
|
🔥 the Syntax instance for Core.
|
2019-07-18 14:44:10 -04:00 |
|
Rob Rix
|
49baa468f9
|
🔥 iter.
|
2019-07-18 14:43:25 -04:00 |
|
Rob Rix
|
2f8126875d
|
Generalize stripAnnotations.
|
2019-07-18 14:41:04 -04:00 |
|
Rob Rix
|
9eae24ecc1
|
Recur through annotations.
|
2019-07-18 14:39:20 -04:00 |
|
Rob Rix
|
aa1e36bc93
|
Define stripAnnotations directly.
|
2019-07-18 14:37:19 -04:00 |
|
Rob Rix
|
97320176dc
|
🔥 interpret.
|
2019-07-18 14:34:44 -04:00 |
|
Rob Rix
|
4cbc23b76d
|
🔥 cata.
|
2019-07-18 14:34:16 -04:00 |
|
Rob Rix
|
e6e580d0a2
|
Spacing.
|
2019-07-18 14:30:20 -04:00 |
|
Rob Rix
|
fbb5688bd4
|
Use the top-level definition of with.
|
2019-07-18 14:29:57 -04:00 |
|
Rob Rix
|
d7e4f2129d
|
Combine prettyCore & prettify.
|
2019-07-18 14:28:12 -04:00 |
|
Rob Rix
|
4598da7e21
|
Define prettify direct-recursively.
This uses fromScope to recur, and accumulates a continuation for the variables to avoid n² fmaps.
|
2019-07-18 14:26:51 -04:00 |
|
Rob Rix
|
72701fe9fc
|
Reuse fromScope.
|
2019-07-18 11:02:56 -04:00 |
|
Rob Rix
|
e36cc7c184
|
Fix the doctest for concrete.
|
2019-07-18 10:25:43 -04:00 |
|
Rob Rix
|
325ec2a2c4
|
Sort the fixity declarations like in the syntax.
|
2019-07-17 15:29:40 -04:00 |
|
Rob Rix
|
d3cf5624e7
|
Give fixities for ... and .=.
|
2019-07-17 15:29:22 -04:00 |
|
Rob Rix
|
d9ea6e783e
|
Correct the precedences of pretty-printing for :. and :=.
|
2019-07-17 15:29:12 -04:00 |
|
Rob Rix
|
36827bb85c
|
Strip annotations in the tests.
|
2019-07-17 15:23:56 -04:00 |
|
Rob Rix
|
8aacefb5d1
|
Parse string literals.
|
2019-07-17 15:10:21 -04:00 |
|
Rob Rix
|
d076bbb21f
|
🔥 re-exports of iter & cata.
|
2019-07-17 14:54:29 -04:00 |
|
Rob Rix
|
1d94634cce
|
Generate User names.
|
2019-07-17 12:55:05 -04:00 |
|
Rob Rix
|
25f6f96ea4
|
Define a helper for constructing Named User.
|
2019-07-17 12:54:08 -04:00 |
|
Rob Rix
|
76f79fd315
|
Specialize pretty-printing to User.
|
2019-07-17 12:51:42 -04:00 |
|
Rob Rix
|
da85c697b2
|
Correct the types in the spec.
|
2019-07-17 12:44:34 -04:00 |
|
Rob Rix
|
c2812f8995
|
Fix up the generators.
|
2019-07-17 12:44:27 -04:00 |
|
Rob Rix
|
a1ee196d76
|
Define a helper to interpret a Term in some other eff-Carrier.
|
2019-07-17 11:57:44 -04:00 |
|
Rob Rix
|
1c85529a33
|
Move the fixities adjacent to Core.
|
2019-07-17 11:54:56 -04:00 |
|
Rob Rix
|
1e8a4ffa31
|
Replace Core with Term CoreF.
|
2019-07-17 11:53:20 -04:00 |
|
Rob Rix
|
1adc85d6a1
|
🔥 the Semigroup instance for Core.
|
2019-07-17 11:43:48 -04:00 |
|
Rob Rix
|
3e53644a36
|
Define block using a newtype helper.
We can’t rely on having a Semigroup instance for the term type.
|
2019-07-17 11:42:16 -04:00 |
|
Rob Rix
|
1e3e8dd425
|
Use the RightModule instance for CoreF to define the Monad instance for Core.
|
2019-07-17 11:24:57 -04:00 |
|
Rob Rix
|
e63e04724a
|
Define a RightModule instance for CoreF.
|
2019-07-17 11:24:44 -04:00 |
|
Rob Rix
|
d1c6d9fab8
|
Define a catamorphism over Terms.
|
2019-07-17 11:19:30 -04:00 |
|
Rob Rix
|
43061122b9
|
Define an iterator for Term.
|
2019-07-17 11:17:06 -04:00 |
|
Rob Rix
|
bb30733b83
|
Replace foldCoreF with a Syntax instance.
|
2019-07-17 11:15:24 -04:00 |
|
Rob Rix
|
7f828469c3
|
🔥 foldScope.
|
2019-07-17 11:14:46 -04:00 |
|
Rob Rix
|
7684e4c4cc
|
Define a Syntax instance for sums.
|
2019-07-17 11:13:36 -04:00 |
|