packages feed

code-conjure-0.5.4: TODO.md

TODO for Conjure
================

A non-exhaustive list of things TO DO for Conjure.


### for later

* pretty-print top-level if and case expressions?

* consider not breaking arguments in some cases
  (increased crossproduct of patterns).
  but which cases?

* exclude magic numbers?  e.g.: `1+1`?

* allow conjuring from partially defined implementations?

        partial :: ((Int -> Int) -> Int -> Int) -> (Int -> Int)
        partial impl  =  f
          where
          f n  =  if n == 0
                  then 1
                  else impl f n

* consider discover orderings on arguments?

* consider leveraging lazyness somehow?
  (related to allowing recursion under any lazy functions)

* consider leveraging polymorphism somehow?

* consider allowing lambdas that introduce free variables?


This file is part of Conjure,
(C) 2021-2022 Rudy Matela,
Distribued under the 3-Clause BSD license.