Replaced newtype by data

This commit is contained in:
Yann Esposito 2012-06-18 10:38:24 +02:00
parent 420c6c6a41
commit 8194d0e384
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View file

@ -2,3 +2,4 @@
*.hi
*~
Mandelbulb
hglmandel

View file

@ -20,7 +20,7 @@ And the second part more focused on OpenGL and content.
For efficiency reason, I will not use the default Haskell `Complex` data type.
> newtype Complex = C (Float,Float) deriving (Show,Eq)
> data Complex = C (Float,Float) deriving (Show,Eq)
> instance Num Complex where