Giter VIP home page Giter VIP logo

hedgehog-fn's People

Contributors

endgame avatar enemeth79 avatar erikd avatar freeman42x avatar gwils avatar lightandlight avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

hedgehog-fn's Issues

Generate natural transformations

I want something like

data NT :: (Type -> Type) -> (Type -> Type) -> Type
appNT :: NT f g -> f a -> g a

and some way to generate arbitrary values of type NT f g. Any idea how this might be done?

Investigate generation of functions which have outputs that depend on their inputs

There were a couple of questions in the reddit thread about this kind of idea.

I think it's cool but I don't know if it's possible. The main example of monotonicity requires knowledge of the entire domain and codomain, which isn't captured by a -> Gen b anyway. At the very least we need to be aware of the history of inputs to the function.

The memo-trie approach works by lazily enumerating all the possible inputs to the function, so if we wanted to generate a monotonic function then somehow each input would have to have a knot that knows about all the other inputs. I don't know that it works.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.