Navigation Menu

Skip to content

leon-vv/Record

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Record

This package provides a Record datatype for the Idris language. A record is a list of keys with a corresponding value. Thanks to the powerful type system of Idris it's possible to express a record type directly and write very general functions using it. For some inspiration check out the Event, FerryJS and Sql modules.

Usage

Make sure to install the latest version of the Idris compiler. idris --install record.ipkg Because record is a reserved Idris keyword the name of the package is record_. To use the library in another file use: idris -p record_ Main.idr

Documentation

idris --mkdoc ./record.ipkg

License

Mozilla Public License, v. 2.0

About

Idris package describing records directly using sum types

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages