Skip to content

Code shown in my blog post "Isomorphisms Between Integers and Some Composite Types in Haskell".

License

Notifications You must be signed in to change notification settings

doersino/isomorphisms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

isomorphisms

Build Status

Code shown in my blog post "Isomorphisms Between Integers and Some Composite Types in Haskell".

Setup & Usage

git clone https://github.com/doersino/isomorphisms.git
cd isomorphisms
stack build && stack exec isomorphisms  # see haskellstack.org

Expected output (after the usual build status messages):

+++ OK, passed 100 tests.
+++ OK, passed 100 tests.
+++ OK, passed 100 tests.
+++ OK, passed 100 tests.
+++ OK, passed 100 tests.
+++ OK, passed 100 tests.
+++ OK, passed 100 tests.
+++ OK, passed 100 tests.
+++ OK, passed 100 tests.
+++ OK, passed 100 tests.
*** Failed! Falsifiable (after 2 tests):
1
*** Failed! Falsifiable (after 8 tests and 8 shrinks):
[0,0,0,3]

The last two tests fail for the reasons detailed in the post. You should go read it!

About

Code shown in my blog post "Isomorphisms Between Integers and Some Composite Types in Haskell".

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published