Send Beginners mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
http://www.haskell.org/mailman/listinfo/beginners
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Beginners digest..."
Today's Topics:
1. Re: Exercise of "Programming with Arrows" (Kim-Ee Yeoh)
2. Re: Error when starting GHCI (Arie van Wingerden)
(Arie van Wingerden)
3. opengl osx vs linux (Miguel Negr?o)
----------------------------------------------------------------------
Message: 1
Date: Fri, 11 Oct 2013 02:19:22 +0700
From: Kim-Ee Yeoh <[email protected]>
To: The Haskell-Beginners Mailing List - Discussion of primarily
beginner-level topics related to Haskell <[email protected]>
Subject: Re: [Haskell-beginners] Exercise of "Programming with Arrows"
Message-ID:
<capy+zdtvodtqu-9o7gqtmpl2rfmsuqkodqf5kj4rhpbr8zp...@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"
On Fri, Oct 11, 2013 at 12:10 AM, Thiago Negri <[email protected]> wrote:
> And now I'm stuck trying to create an instance of ArrowLoop for the stream
> processor. :(
If you want quick help, you can always ask on cafe.
That said, I believe you're capable of figuring this out on your own. Give
it a couple more days to see where it leads you. Read up on irrefutable
patterns if need be.
"But surely," you ask, "learning more quickly is better, no?"
It really depends on what one means by learning. The point is, the struggle
etches the ensuing revelation more deeply, resulting in more durable
retention.
-- Kim-Ee
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://www.haskell.org/pipermail/beginners/attachments/20131011/4704247f/attachment-0001.html>
------------------------------
Message: 2
Date: Fri, 11 Oct 2013 10:03:12 +0200
From: Arie van Wingerden <[email protected]>
To: "Howard B. Golden" <[email protected]>
Cc: "[email protected]" <[email protected]>
Subject: Re: [Haskell-beginners] Error when starting GHCI (Arie van
Wingerden)
Message-ID:
<cadkalsfo+ltkdnf105oo8scyter8rpgdkyhig6gnb2wf1mw...@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"
Hi Howard,
maybe you are spot on!
I only have this: "C:\Users\Arie\AppData\Roaming\ghc" only containing
ghci_history !!
But how to repair this?
The install gave me no errors.
Kind regards,
Arie
2013/10/10 Howard B. Golden <[email protected]>
> Arie,
>
> The only difference I have with your output on my computer is a line after
> the "Using binary package database..." line:
>
> Using binary package database:
> C:\Users\hgolden\AppData\Roaming\ghc\i386-mingw32-7.6.3\package.conf.d\package.cache
>
> That package cache contains hs-dotnet-0.4.0.
>
> I have no idea if this is why you are getting the error message at the end
> ("Loading package base ... ").
>
> Did you get any error messages when you installed the Haskell Platform?
>
> Howard
>
> ------------------------------
> *From:* Arie van Wingerden <[email protected]>
> *To:* Howard B. Golden <[email protected]>; The Haskell-Beginners
> Mailing List - Discussion of primarily beginner-level topics related to
> Haskell <[email protected]>
> *Sent:* Wednesday, October 9, 2013 11:41 AM
> *Subject:* Re: [Haskell-beginners] Error when starting GHCI (Arie van
> Wingerden)
>
> Hi,
> following Howards guidance I tried to start GHCI with the -v option and
> get:
>
> GHCi, version 7.6.3: http://www.haskell.org/ghc/ :? for help
> Glasgow Haskell Compiler, Version 7.6.3, stage 2 booted by GHC version
> 7.4.1
> Using binary package database: C:\Program Files\Haskell
> Platform\2013.2.0.0\lib\
> package.conf.d\package.cache
> wired-in package ghc-prim mapped to
> ghc-prim-0.3.0.0-9d603ae4e062e1401099a3daa89
> 31d0f
> wired-in package integer-gmp mapped to
> integer-gmp-0.5.0.0-4093e6ff1e8ebdba04ec8
> 92df9ac108f
> wired-in package base mapped to
> base-4.6.0.1-f0c2cc6dcf0e12bf75312a2e7f354095
> wired-in package rts mapped to builtin_rts
> wired-in package template-haskell mapped to
> template-haskell-2.8.0.0-42f1e6e5551
> 1ef4dff7e4249580faf8f
> wired-in package dph-seq not found.
> wired-in package dph-par not found.
> Hsc static flags: -static
> Loading package ghc-prim ... linking ... done.
> Loading package integer-gmp ... linking ... done.
> *** gcc:
> "C:\Program Files\Haskell Platform\2013.2.0.0\lib/../mingw/bin/gcc.exe"
> "-fno-st
> ack-protector" "-Wl,--hash-size=31" "-Wl,--reduce-memory-overheads"
> "-LC:\Progra
> m Files\Haskell Platform\2013.2.0.0\lib\base-4.6.0.1" "--print-file-name"
> "wsock
> 32.dll"
> *** gcc:
> "C:\Program Files\Haskell Platform\2013.2.0.0\lib/../mingw/bin/gcc.exe"
> "-fno-st
> ack-protector" "-Wl,--hash-size=31" "-Wl,--reduce-memory-overheads"
> "-LC:\Progra
> m Files\Haskell Platform\2013.2.0.0\lib\base-4.6.0.1" "--print-file-name"
> "user3
> 2.dll"
> *** gcc:
> "C:\Program Files\Haskell Platform\2013.2.0.0\lib/../mingw/bin/gcc.exe"
> "-fno-st
> ack-protector" "-Wl,--hash-size=31" "-Wl,--reduce-memory-overheads"
> "-LC:\Progra
> m Files\Haskell Platform\2013.2.0.0\lib\base-4.6.0.1" "--print-file-name"
> "shell
> 32.dll"
> Loading package base ... ghc.exe: : Kan opgegeven module niet vinden.
> *** Deleting temp files:
> Deleting:
> *** Deleting temp dirs:
> Deleting:
> <command line>: can't load .so/.DLL for: (addDLL: could not load DLL)
>
> Any ideas why this happens?
> TIA,
> Arie
>
>
> 2013/10/8 Howard B. Golden <[email protected]>
>
> Hi Arie,
>
> My guess is that you don't have a necessary library in your path. Here are
> the Haskell libraries I have in my path (change as necessary for your
> setup):
>
> C:\Program Files\Haskell Platform\2013.2.0.0\lib\extralibs\bin
> C:\Program Files\Haskell Platform\2013.2.0.0\bin
> C:\Program Files\Haskell Platform\2013.2.0.0\mingw\bin
>
> HTH,
>
> Howard
>
> -------------------------
> Message: 2
>
> Date: Tue, 8 Oct 2013 18:12:41 +0200
> From: Arie van Wingerden <[email protected]>
> To: [email protected]
> Subject: [Haskell-beginners] Error when starting GHCI
> Message-ID:
> <CADkALSHpG7s89tT7rXJw56q7hkDyEcwv1=xu5tg3_qlqoqt...@mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi,
>
> today I downloaded the Haskell platform for 32 bits Windows
> (HaskellPlatform-2013.2.0.0-setup.exe) and installed it.
>
> The first time I started GHCI all worked perfectly.
>
> When I closed GHCI and later tried to start it again I constantly get
> however:
> C:\Users\Arie>ghci
> GHCi, version 7.6.3: http://www.haskell.org/ghc/ :? for help
> Loading package ghc-prim ... linking ... done.
> Loading package integer-gmp ... linking ... done.
> Loading package base ... ghc.exe: : Kan opgegeven module niet vinden.
> <command line>: can't load .so/.DLL for: (addDLL: could not load DLL)
> WHERE Kan opgegeven module niet vinden MEANS Can't find the specified
> module
>
> Any ideas?
>
> Kind regards,
> Arie
> _______________________________________________
> Beginners mailing list
> [email protected]
> http://www.haskell.org/mailman/listinfo/beginners
>
>
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://www.haskell.org/pipermail/beginners/attachments/20131011/d0951b22/attachment-0001.html>
------------------------------
Message: 3
Date: Fri, 11 Oct 2013 10:59:51 +0100
From: Miguel Negr?o <[email protected]>
To: "[email protected]" <[email protected]>
Subject: [Haskell-beginners] opengl osx vs linux
Message-ID: <[email protected]>
Content-Type: text/plain; charset="iso-8859-1"
hi
I made a haskell program using the OpenGL and GLUT packages. I've
noticed that I get a different behaviour in osx and linux. It basically
draws a sphere, and I can change the colors of the triangles of the
sphere via OSC messages. I can rotate the sphere with the mouse.
In osx the movement when rotating with the mouse is totally smooth, but
on linux the movement has a delay, it is slower then the movemnt of the
mouse, it seems that there is delay between each incoming mouse message
so when I stop moving the mouse the sphere still continues to rotate by
itself for some time.
Does anyone know what could be causing this ?
The program is here:
https://github.com/miguel-negrao/pfVisualizer
best regards,
Miguel Negr?o
http://www.friendlyvirus.org/miguelnegrao
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 555 bytes
Desc: OpenPGP digital signature
URL:
<http://www.haskell.org/pipermail/beginners/attachments/20131011/26b6349e/attachment-0001.sig>
------------------------------
Subject: Digest Footer
_______________________________________________
Beginners mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/beginners
------------------------------
End of Beginners Digest, Vol 64, Issue 19
*****************************************