Quantcast
Channel: Haskell Type into Data - Stack Overflow
Browsing all 2 articles
Browse latest View live

Answer by Daniel Fischer for Haskell Type into Data

There isn't much to necessarily change, instead offilmsByDirector name = filter (\(a,_,_,_) -> a == name) testDatabasewhere you use the (,,,) constructor for the pattern, you use the Film...

View Article


Haskell Type into Data

I am trying to change the Film type to a data type so it will make it easier to order and save and load to a file, I am having problems matching the functions up with the right arguments, it was a lot...

View Article

Browsing all 2 articles
Browse latest View live


Latest Images