1. 29 Oct, 2019 2 commits
  2. 25 Oct, 2019 6 commits
  3. 23 Oct, 2019 3 commits
  4. 22 Oct, 2019 3 commits
  5. 15 Oct, 2019 2 commits
  6. 11 Oct, 2019 2 commits
  7. 10 Oct, 2019 4 commits
  8. 03 Oct, 2019 4 commits
  9. 30 Sep, 2019 2 commits
  10. 27 Sep, 2019 2 commits
  11. 25 Sep, 2019 1 commit
  12. 24 Sep, 2019 3 commits
  13. 23 Sep, 2019 2 commits
    • johnvg@science.ru.nl's avatar
    • johnvg@science.ru.nl's avatar
      Extend the number of cases in which a function is generated instead of · ba9c2e45
      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.
      ba9c2e45
  14. 19 Sep, 2019 2 commits
  15. 18 Sep, 2019 2 commits