Some time ago I made a little experiment and implemented an
interpreter for the lambda-calculus in Haskell. The only reason was
that I wanted to try different ways of doing it. So I did it using
simple substitution (i.e., as the textbooks describe it), unique
identifiers, deBruijn
For .hi files just compile it with Yhc and take a look at the .hi file
it creates, they are plain text. If they are top level functions
(which they certainly are, I guess) this should be all you need.
Another approach is to get the type information out of Hugs with the
:t command line prod. I've
How do people like to set up their foreign I/O functions to return
ByteStrings? I was a little stumped over this yesterday evening,
while trying to write ` recv :: Socket - Int - Int - ByteString '
Doc says `Byte vectors are encoded as strict Word8 arrays of bytes,
held in a ForeignPtr, and can
On Sun, 2006-11-12 at 10:49 -0800, Donn Cave wrote:
How do people like to set up their foreign I/O functions to return
ByteStrings? I was a little stumped over this yesterday evening,
while trying to write ` recv :: Socket - Int - Int - ByteString '
Doc says `Byte vectors are encoded as
Hi.
I've just installed GHC 6.6 on an amd64 running a gentoo linux distribution.
With GHCi from 6.4.2 I could run ghci then do
Prelude :l Foo/Bar.hs
by hitting tab after Foo to complete the path to Bar.hs
This no longer works, hitting tab only shows what's in the pwd.
If I run ghci
not a solution to your problem, but covers all your tests,
as well as one more that would inevitably have followed:-)
cheers,
claus
Twice.hs
Description: Binary data
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
Hello haskell-cafe,
Now i'm consider installation of some Linux version at my box. My
friend offered me 3 variants: SuSe, Fedora Core 5, free variant of
RedHat (i can't remember its name, may be Ubuntu?)
what may be best for GHC-based development? in particular, i want to
compile Haskell itself
Hello haskell-cafe,
afaik, there are just two good enough libs - wxHaskell and GtkHs. can
anyone point (or write) detailed comparison of their features? i plan
to write large GUI program in Haskell and want to select best one.
the requirements that i can imagine at this moment is the following:
bulat.ziganshin:
Hello haskell-cafe,
Now i'm consider installation of some Linux version at my box. My
friend offered me 3 variants: SuSe, Fedora Core 5, free variant of
RedHat (i can't remember its name, may be Ubuntu?)
what may be best for GHC-based development? in particular, i want to
On Mon, 2006-11-13 at 02:50 +0300, Bulat Ziganshin wrote:
Hello haskell-cafe,
afaik, there are just two good enough libs - wxHaskell and GtkHs. can
anyone point (or write) detailed comparison of their features? i plan
to write large GUI program in Haskell and want to select best one.
the
On Mon, 2006-11-13 at 12:02 +1300, Daniel McAllansmith wrote:
Hi.
I've just installed GHC 6.6 on an amd64 running a gentoo linux distribution.
With GHCi from 6.4.2 I could run ghci then do
Prelude :l Foo/Bar.hs
by hitting tab after Foo to complete the path to Bar.hs
This no longer
I use Ubuntu, which is a flavor of Debian. It was pretty easy to
install, and it's intended to be friendly to new Linux users, while
not getting in the way of people who want to do more advanced things.
My only complaint Haskell-wise is that GHC 6.6 hasn't made it into the
package system yet;
Hi Bulat,
afaik, there are just two good enough libs - wxHaskell and GtkHs. can
anyone point (or write) detailed comparison of their features? i plan
to write large GUI program in Haskell and want to select best one.
the requirements that i can imagine at this moment is the following:
I used
Yitzchak Gale [EMAIL PROTECTED] wrote in article [EMAIL PROTECTED] in
gmane.comp.lang.haskell.cafe:
replace0 :: a - a - a
replace1 :: Int - a - [a] - [a]
replace2 :: Int - Int - a - [[a]] - [[a]]
This message is joint work with Oleg Kiselyov. All errors are mine.
Part of what makes this
donn:
How do people like to set up their foreign I/O functions to return
ByteStrings? I was a little stumped over this yesterday evening,
while trying to write ` recv :: Socket - Int - Int - ByteString '
Doc says `Byte vectors are encoded as strict Word8 arrays of bytes,
held in a
Neil Mitchell wrote:
Hi Bulat,
afaik, there are just two good enough libs - wxHaskell and GtkHs. can
anyone point (or write) detailed comparison of their features? i plan
to write large GUI program in Haskell and want to select best one.
the requirements that i can imagine at this moment is
Bulat Ziganshin wrote:
Hello haskell-cafe,
afaik, there are just two good enough libs - wxHaskell and GtkHs. can
anyone point (or write) detailed comparison of their features? i plan
to write large GUI program in Haskell and want to select best one.
the requirements that i can imagine at
On Mon, 13 Nov 2006, Donald Bruce Stewart wrote:
And for custom data (not just C strings), if the withCString* functions
don't quite fit, you can always pack the foreign Ptr into a ByteString
by stepping inside the ByteString constructor:
donn:
On Mon, 13 Nov 2006, Donald Bruce Stewart wrote:
And for custom data (not just C strings), if the withCString* functions
don't quite fit, you can always pack the foreign Ptr into a ByteString
by stepping inside the ByteString constructor:
19 matches
Mail list logo