Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there Liquid Haskell enabled Prelude?

Is there a annotated variant or Haskell Prelude available for easy migration of existing programs that call functions like head or length?

like image 284
sevo Avatar asked Oct 30 '22 10:10

sevo


1 Answers

As discussed in the LH Documentation, you can augment existing files with .spec files that give just specifications of already existing code. LH itself comes with a large prelude (see the include folder) that includes specifications for lots of common stuff, including head, length, functions on Data.Set, etc.

like image 196
sclv Avatar answered Nov 15 '22 08:11

sclv