- 30 Oct, 2019 3 commits
-
-
John van Groningen authored
Fix == for TypeCons, fixing a bug where multiple alternatives of some generic... Closes #55 See merge request clean-compiler-and-rts/compiler!12
-
Camil Staps authored
Fix == for TypeCons, fixing a bug where multiple alternatives of some generic cases were not allowed
-
johnvg@science.ru.nl authored
-
- 29 Oct, 2019 1 commit
-
-
johnvg@science.ru.nl authored
restrict default instances to instances with at least one type variable argument, only type constructors at the root, and all type variables are used once, fix instance lookup of other instances: search if no instance was found in the instance group
-
- 25 Oct, 2019 3 commits
-
-
johnvg@science.ru.nl authored
remove old overlapping instance test, change find instance algorithm, first determine if an instance exists that only has type constructors as root types (monomorphic root), if so try to find the instance in this group, otherwise try the other instances (polymorphic root)
-
johnvg@science.ru.nl authored
-
johnvg@science.ru.nl authored
fix type synonym expansion error in new code for: add new check for overlapping instances (commit 00e07f57)
-
- 23 Oct, 2019 1 commit
-
-
John van Groningen authored
Resolve crash on existentially qualified type variables that already appear in... Closes #50 See merge request clean-compiler-and-rts/compiler!11
-
- 22 Oct, 2019 2 commits
-
-
johnvg@science.ru.nl authored
-
Camil Staps authored
Resolve crash on existentially qualified type variables that already appear in the left-hand side of the type
-
- 11 Oct, 2019 1 commit
-
-
johnvg@science.ru.nl authored
-
- 10 Oct, 2019 2 commits
-
-
johnvg@science.ru.nl authored
-
johnvg@science.ru.nl authored
-
- 03 Oct, 2019 2 commits
-
-
johnvg@science.ru.nl authored
generate bimap functions as a case with for each constructor as result the constructor with bimapped arguments, no generic representation of the algebraic, record or newtype is created, remove the bimap functions for the generic representation constructors, use a seperate type for the GenTypeStruct for bimap (BimapGenTypeStruct)
-
johnvg@science.ru.nl authored
move types GenTypeStruct and GenericTypeRep from module syntax to module generics1, make type GenericTypeReps extensible and move constructors except NoGenericTypeReps
-
- 30 Sep, 2019 1 commit
-
-
johnvg@science.ru.nl authored
-
- 27 Sep, 2019 1 commit
-
-
John van Groningen authored
Add error location for patterns in list comprehensions See merge request clean-compiler-and-rts/compiler!8
-
- 25 Sep, 2019 1 commit
-
-
Camil Staps authored
-
- 24 Sep, 2019 1 commit
-
-
johnvg@science.ru.nl authored
-
- 23 Sep, 2019 1 commit
-
-
johnvg@science.ru.nl authored
using bimap when deriving generic functions A simple bimap function is generated for a type if each constructor argument or field - is the only occurrence of a type variable in this constructor or record or - consists only of basic types and type constructor names (does not contain type variables) For example for tuple and Maybe types. A more complicated bimap function is generated for a type if each constructor argument or field - is a type variable - consists only of basic types and type constructor names (no type variables) - a function type a->b where either a or b is a type that satisfies these rules and the other type consists only of basic types and type constructor names (no type variables) - a type constructor for which a simple bimap function can be generated with one argument of which the type satisfied these rules, and the other arguments consist only of basic types and type constructor names (no type variables) For example for a record with function types with a single type variable.
-
- 19 Sep, 2019 1 commit
-
-
johnvg@science.ru.nl authored
-
- 18 Sep, 2019 1 commit
-
-
johnvg@science.ru.nl authored
fix commit f9eda3c5, add code to handle optimized derive of bimap for constructor arguments that do not contain a type variable
-
- 17 Sep, 2019 4 commits
-
-
johnvg@science.ru.nl authored
extend the number of cases in which a function is generated instead of using bimap when deriving generic functions, also permit some records
-
johnvg@science.ru.nl authored
in module generics1, use bimap_from_simple_type and bimap_to_simple_type also for partial function calls
-
johnvg@science.ru.nl authored
extend the number of cases in which a function is generated instead of using bimap when deriving generic functions, also permit constructor arguments that do not contain a type variable
-
johnvg@science.ru.nl authored
-
- 11 Sep, 2019 1 commit
-
-
johnvg@science.ru.nl authored
removed optional type context in an import of an instance, it is not required and was ignored by the compiler
-
- 06 Sep, 2019 1 commit
-
-
johnvg@science.ru.nl authored
-
- 20 Aug, 2019 1 commit
-
-
johnvg@science.ru.nl authored
-
- 19 Aug, 2019 1 commit
-
-
johnvg@science.ru.nl authored
-
- 15 Aug, 2019 1 commit
-
-
johnvg@science.ru.nl authored
-
- 05 Aug, 2019 1 commit
-
-
John van Groningen authored
Add error and warning "unused existentially quantified type variable" Closes #44 See merge request clean-compiler-and-rts/compiler!6
-
- 30 Jul, 2019 1 commit
-
-
Camil Staps authored
-
- 23 Jul, 2019 1 commit
-
-
John van Groningen authored
Prevent runtime error on illegal type arguments in generic function definitions Closes #43 See merge request clean-compiler-and-rts/compiler!5
-
- 22 Jul, 2019 1 commit
-
-
Camil Staps authored
-
- 16 Jul, 2019 1 commit
-
-
johnvg@science.ru.nl authored
-
- 15 Jul, 2019 1 commit
-
-
johnvg@science.ru.nl authored
add optimizations that creates specialized zero arity functions for partial function applications with all arguments only zero arity functions or constructors or integer or string denotations, generic derive often generates these function applications
-
- 12 Jul, 2019 3 commits
-
-
johnvg@science.ru.nl authored
-
johnvg@science.ru.nl authored
-
johnvg@science.ru.nl authored
-