Maciej Kurowski
Member since Aug 24, 2011
- Profile: /members/8828-maciej-kurowski.htm
- Comments: 1
Recent Blog Comments By Maciej Kurowski
-
Seven Languages In Seven Weeks: Haskell - Day 1
Posted on Aug 24, 2011 at 1:29 PM
State coloring can be done in quite similar way as it is done with Prolog - just by describing conditions, in this case as conditions of list comprehension. Like this: states colors = [(tennessee, mississippi, alabama, georgia, florida) | tennessee <- colors, mississippi <- colors, alabama ... read more »