Functional submodule for haskell and proof assistants (agda/coq).