Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Recursion schemes for Idris

License

NotificationsYou must be signed in to change notification settings

vmchale/recursion_schemes

Repository files navigation

Build Status

This is a library providing recursion schemes for Idris. It it is loosely basedon Edward Kmett'sHaskelllibrary.

Installation

First, installidris-free,comonad andcomposition. Then:

idris --install recursion_schemes.ipkg

To run the tests, installspecdris.Then:

idris --testpkg test.ipkg

Use

The classic paperFunctional programming with bananas, lenses, envelopes andbarbed wire is theinspiration behind the Haskell library and is the standard reference on thetopic. You may also findLaw and Order inAlgorithmicsto be of use.

Examples

In theTest.Spec module there are several examples, including a catamorphism,a zygomorphism, a mutumorphism, an Elgot algebra, a paramorphism, adynamorphism, and a hylomorphism.

Documentation

You can find documentationhere.

About

Recursion schemes for Idris

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors2

  •  
  •  

Languages


[8]ページ先頭

©2009-2025 Movatter.jp