lhi
is a persistent LiquidHaskell server (cf. hdevtools
) that will enable
- Incremental Checking
- Interactive Queries
- Interactive Proofs & Synthesis
To create your own server, simply provide implementations of the above, and:
Types
Types.Command
Types.Response
Types.State
Code
Handler.init
Handler.handler
$ lhi get --key=cat
Daemon started on port 7856
Just (Failed "not found")
$ lhi put --key=cat --val=garfield
Just (Value "Ok!")
$ lhi get --key=cat
Just (Value "garfield")
$ lhi get --key=dog
Just (Failed "not found")
$ lhi put --key=dog --val=fido
Just (Value "Ok!")
$ lhi get --key=cat
Just (Value "garfield")
$ lhi get --key=dog
Just (Value "fido")