GithubHelp home page GithubHelp logo

pangloss / pattern Goto Github PK

View Code? Open in Web Editor NEW
110.0 6.0 3.0 753 KB

Pattern lets you transform data structures in amazing ways.

License: Eclipse Public License 1.0

Clojure 100.00%
clojure pattern-matching

pattern's People

Contributors

pangloss avatar stathissideris avatar teodorlu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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

pattern's Issues

Question: work duplication in evaluation by substitution

A problem which generally exists in implementation of lazy evaluation by substitution is that of work duplication. By if we substitute unconditionally, we might end up returning a closure which contains a computation which could have been computed once before being close over, which might be called many times.
The GHC uses a combination of strategies and heuristics, including just not inlining inside closures
There is also theoretical work on optimal implementation and sample implementations which work by graph reduction.

Does Pattern have any facilities to address this issue optimally, or would a user have to go for the same heuristics as the Haskell compiler does?

Thanks

Test runner url is incorrect

Hey Darrick!

A couple months ago you updated deps. You also changed the url for Cognitect's test-runner, which is now incorrect. It should have stayed cognitect-labs/test-runner.

{:git/url "https://github.com/com.cognitect/test-runner"

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.