Skip to content
This repository has been archived by the owner on Dec 17, 2020. It is now read-only.
/ coq-prelude Public archive

General-purpose monad typeclass hierarchy for Coq

License

Notifications You must be signed in to change notification settings

ANSSI-FR/coq-prelude

Repository files navigation

coq-prelude Build Status

Originally inspired by the Haskell standard library (Prelude), coq-prelude now strives to be a convenient addition to the Coq standard library in order to ease software development (as opposed to theorem proving).

The pretty-printed source tree is available online.

Here are some features provided by this library:

  • Equality typeclass: to be used in place of built-in Leibniz equality
  • Alternative string types: text (unicode text) and bytes (raw list of byte) whose string notations support escape characters such as \n or \t.
  • Monad typeclasses hierarchy, with notations inspired by both the Haskell do-notation and the OCaml monadic operators

Getting Started

Installing From Source

This project uses dune as its build system.

dune build

For convenience purpose, a Makefile is provided, with the default rule being a call to dune build. Hence, one can just type:

make

One can also generate coq-prelude pretty-printed source tree thanks to make:

make html

About

General-purpose monad typeclass hierarchy for Coq

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages