Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

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

Releases

No releases published

Packages

No packages published