solution (see below), but I am not sure
that it is the right approach, and it is probably inefficient.
Chris Mears
{-# LANGUAGE DeriveDataTypeable #-}
{-# LANGUAGE ExistentialQuantification #-}
{-# LANGUAGE ScopedTypeVariables #-}
import Control.Monad
import Control.Monad.State
import
Colin Fleming [EMAIL PROTECTED] writes:
It looks from the porting guide that I might be able to make 6.6.2
with just a C compiler, can I then use that to build 6.8.3?
I have the same problem as you -- a hosting environment with an old libc
-- and had the same problem with the binary
Jared Updike [EMAIL PROTECTED] writes:
Can someone else verify if this is a Mac/BSD only problem by compiling
and running my code? (Does the C executableworks work? Does the
Haskell executable noworks not work?) Can anyone on Linux and
Windows attempt to compile/run and see if you can get the
Alex Jacobson [EMAIL PROTECTED] writes:
I'd like to have code not compile if it doesn't pass the tests.
Is there a way to use TH to generate compiler errors if the tests
don't pass?
What about something like this?
import Language.Haskell.TH
import Tests -- this should
PR Stanley [EMAIL PROTECTED] writes:
Hi
Can you think of a fourth way of redefining disjunct using pattern matching?
vee :: Bool - Bool - Bool
vee _ True = True
vee True _ = True
vee _ _ = False
In the same spirit:
f False False = False
f _ _ = True
[EMAIL PROTECTED] (Donald Bruce Stewart) writes:
Anyone tried editing haskell.org's wiki as text, using:
http://wikipediafs.sourceforge.net/
I have now, and it works. To test it out, do the following:
- install wikipediafs (it's in Debian's repo., and probably others)
- $ mkdir wikis
Bas van Dijk [EMAIL PROTECTED] writes:
Hello,
For my own exercise I'm writing a function 'weave' that weaves a
list of lists together. For example:
weave [[1,1,1], [2,2,2], [3,3]] == [1,2,3,1,2,3,1,2]
weave [[1,1,1], [2,2], [3,3,3]] == [1,2,3,1,2,3,1]
[...]
So I'm wondering if 'weave'