KiaraGrouwstra / synthesis

code-base for my UvA MSc AI thesis on typed neural program synthesis
https://gitlab.com/KiaraGrouwstra/hasktorch/tree/synthesis/synthesis/
Other
5 stars 1 forks source link

variables/lambdas #8

Open KiaraGrouwstra opened 4 years ago

KiaraGrouwstra commented 4 years ago

shared among variables and lambda function parameter variables:

specific to allowing lambda functions:

KiaraGrouwstra commented 4 years ago

cleaned out a WIP attempt here, as this doesn't seem a priority for now.

KiaraGrouwstra commented 4 years ago

welp, I guess wontfix tag may have been optimistic here if recursion (#12) may push me into this if I can't find a simpler benchmark...

KiaraGrouwstra commented 4 years ago

note that most others like Tamandu tend to do top-level multi-param functions (e.g. foo a b = ...) -- I may need to either settle for at least that, or ensure my dataset has point-free tools like function composition (.) and param flipping.