Hello,
I recently joined Haskell group and wanted to share a few points.
First, I came to Haskell cafe from google groups (groups.google.com -
search for Haskell). Two groups are listed: fa.haskell and
haskell-cafe. I became a member of Haskell Cafe via the google
groups interface (the operation
On Mon, Mar 7, 2011 at 6:12 AM, Richard O'Keefe o...@cs.otago.ac.nz wrote:
On 4/03/2011, at 10:47 PM, Karthick Gururaj wrote:
On Fri, Mar 4, 2011 at 10:42 AM, Richard O'Keefe o...@cs.otago.ac.nz wrote:
On 4/03/2011, at 5:49 PM, Karthick Gururaj wrote:
I meant: there is no reasonable way
On Fri, Mar 4, 2011 at 10:42 AM, Richard O'Keefe o...@cs.otago.ac.nz wrote:
On 4/03/2011, at 5:49 PM, Karthick Gururaj wrote:
I meant: there is no reasonable way of ordering tuples, let alone enum
them.
There are several reasonable ways to order tuples.
That does not mean we can't define
On Thu, Mar 3, 2011 at 8:00 PM, Paul Sujkov psuj...@gmail.com wrote:
Hi,
you can always check the types using GHCi prompt:
*Prelude :i (,)
data (,) a b = (,) a b -- Defined in GHC.Tuple
instance (Bounded a, Bounded b) = Bounded (a, b)
-- Defined in GHC.Enum
instance (Eq a, Eq b) = Eq (a,
There are so many responses, that I do not know where to start..
I'm top-posting since that seems best here, let me know if there are
group guidelines against that.
Some clarifications in order on my original post:
a. I ASSUMED that '()' refers to tuples, where we have atleast a pair.
This is
Hello,
I'm learning Haskell from the extremely well written (and well
illustrated as well!) tutorial - http://learnyouahaskell.com/chapters.
I have couple of questions from my readings so far.
In typeclasses - 101
(http://learnyouahaskell.com/types-and-typeclasses#typeclasses-101),
there is a
Hi all,
I'm very new to Haskell, having started earlier this week. This is my
second attempt after two years :) Currently, I can do simple list
processing/recursion/functions. I'm using GHC on Ubuntu.
I decided to use puzzles as a way to explore list filtering. For
example, while normal solution
On Thu, Mar 3, 2011 at 11:48 AM, Chris Smith cdsm...@gmail.com wrote:
On Thu, 2011-03-03 at 11:39 +0530, Karthick Gururaj wrote:
What is the () type? Does it refer to a tuple? How can tuple be
ordered, let alone be enum'd? I tried:
The () type is pronounced unit. It is a type with only 1