- 09 Mar, 2019 1 commit
-
-
Hans-Peter Deifel authored
This was the intention all along.
-
- 10 Dec, 2018 2 commits
-
-
Hans-Peter Deifel authored
Creates a new module that exports commonly imported prettyprinter modules, to cut down on the number of imports each module has to do.
-
Hans-Peter Deifel authored
These were originally separated because of some cyclic dependency that is gone now. So in order to make the module zoo a bit more clear, merge the two.
-
- 01 Dec, 2018 1 commit
-
-
Hans-Peter Deifel authored
-
- 19 Nov, 2018 1 commit
-
-
Hans-Peter Deifel authored
This extends the 'help list-functors' command by extensive documentation on the syntax of functor expressions and coalgebras for every functor.
-
- 09 Nov, 2018 4 commits
-
-
Hans-Peter Deifel authored
-
Hans-Peter Deifel authored
-
Hans-Peter Deifel authored
F seems to be the canonical name for the functor of an F-coalgebra.
-
Hans-Peter Deifel authored
-
- 25 Oct, 2018 1 commit
-
-
Hans-Peter Deifel authored
-
- 23 Oct, 2018 5 commits
-
-
Hans-Peter Deifel authored
This fixes parsing of expressions like ((Z, max)^X) or (Z, max)^(X).
-
Hans-Peter Deifel authored
-
Hans-Peter Deifel authored
This is much clearer than Max^X
-
Hans-Peter Deifel authored
-
Hans-Peter Deifel authored
-
- 22 Oct, 2018 1 commit
-
-
Hans-Peter Deifel authored
This doesn't satisfy the runtime complexity requirements of the RefinementInterface correctly, but is useful nontheless.
-
- 21 Oct, 2018 1 commit
-
-
Hans-Peter Deifel authored
Those functors really require the inverse operation to perform as required. A separate functor for monoids that aren't groups is feasable, but would not satisfy the runtime complexity requirements.
-
- 20 Oct, 2018 2 commits
-
-
Hans-Peter Deifel authored
-
Hans-Peter Deifel authored
-
- 19 Oct, 2018 1 commit
-
-
Hans-Peter Deifel authored
The two constructors IntValued and RealValued were a historical artifact and not at all needed. A general constructor `MonoidValued a` is all it really takes to implement different parsers for Int and ADouble.
-
- 08 Sep, 2018 1 commit
-
-
Hans-Peter Deifel authored
-
- 22 Aug, 2018 2 commits
-
-
Hans-Peter Deifel authored
[skip ci]
-
Hans-Peter Deifel authored
There has been a long-standing bug, that we only used exact comparison for IEEE floating point values. This patch implements a newtype ADouble that wraps `Double` and implements `Eq` approximately using the library `ieee754`.
-
- 11 Aug, 2018 2 commits
-
-
Hans-Peter Deifel authored
The 'help list_functors' command now also shows a small syntax example for the functor expression of every functor.
-
Hans-Peter Deifel authored
-
- 05 Aug, 2018 1 commit
-
-
Hans-Peter Deifel authored
This improves running times slightly and may avoid space leaks that arise from holding on to the labels-list for too long.
-
- 24 Jul, 2018 1 commit
-
-
Hans-Peter Deifel authored
Leaving the types entierly abstract is surely more pleasing, but also the biggest source of slowness.
-
- 23 Jul, 2018 3 commits
-
-
Hans-Peter Deifel authored
-
Hans-Peter Deifel authored
Slightly faster again..
-
Hans-Peter Deifel authored
-
- 17 Jul, 2018 1 commit
-
-
Hans-Peter Deifel authored
This allows to parser more complex expressions in a single functor (like the polynomial functor), instead of only unary and binary parsers. The downside is that implementing a functor parser got more complex: Each functor now has to call the `inner` parser by itself and also handle the case where the inner parser succeeds and the outer parser fails separately. This design doesn't sound particularly elegant, but there is no obvious other solution.
-
- 14 Jul, 2018 1 commit
-
-
Hans-Peter Deifel authored
-
- 13 Jul, 2018 4 commits
-
-
Hans-Peter Deifel authored
-
Hans-Peter Deifel authored
-
Hans-Peter Deifel authored
-
Hans-Peter Deifel authored
-
- 10 Jul, 2018 3 commits
-
-
Hans-Peter Deifel authored
-
Hans-Peter Deifel authored
This changes the transformer stack from `ParserT State` to `StateT Parser` for these reasons: 1. This allows the state to backtrack with the parser. While this shouldn't be necessary for the morphism parser, it's definitely less surprising behavior. 2. We need to compose the functor expression and morphism parsers.
-
Hans-Peter Deifel authored
This still compiles but doesn't actually work, because the old YAML parser in src/Parser.hs now returns zero encodings. This parser has to be replaced next.
-
- 09 Jul, 2018 1 commit
-
-
Hans-Peter Deifel authored
-