Why doesn't reify return function body?
reify (mkName somefunction) for a function defined in the same module
returns constructor VarI (of data type Info) that does not contain
function declaration in (Maybe Dec) part.
What actions should I perform to get a function body with patterns,
On Fri, 10 Nov 2006, Benjamin Franksen wrote:
Although one could view this as a bug in the offending module it makes
me somewhat uneasy that one additional import can have such a drastic
effect on the code in a module /even if you don't use anything from that
module/.
It's the same as with
On 11/9/06, Brandon Moore [EMAIL PROTECTED] wrote:
Looks nice, especially if you're just getting started.
The overall structure looks good, I've just made a bunch of
little changes to the details. Mostly I found repeated patterns
to replace with library functions or extract as helper functions.
Henning Thielemann wrote:
On Fri, 10 Nov 2006, Benjamin Franksen wrote:
Although one could view this as a bug in the offending module it makes
me somewhat uneasy that one additional import can have such a drastic
effect on the code in a module /even if you don't use anything from that
Quoth Justin Bailey, nevermore,
Above are all more examples of partial functions and function
composition. I understand the first concept, but function composition
escapes me somehow. What are the rules for partial functions getting
arguments when they are eventually supplied? For example, in
On 11/10/06, Dougal Stanton [EMAIL PROTECTED] wrote:
As you noted that doesn't seem right --- how does compile capture its
input? Well, the (.) operator is slightly different. It captures
variables and passes them into the 'innermost' function, a bit like
this:
That is a great explanation.
On Nov 9, 2006, at 7:16 PM, Benjamin Franksen wrote:
Carl Witty wrote:
On Thu, 2006-11-09 at 22:20 +0100, Benjamin Franksen wrote:
Henning Thielemann wrote:
Maybe making fixity declarations like type class instance
declarations
is
good.
I thought so too at first but, having thought
On 11/10/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Why doesn't reify return function body?
reify (mkName somefunction) for a function defined in the same module
returns constructor VarI (of data type Info) that does not contain
function declaration in (Maybe Dec) part.
What actions should
Jan-Willem Maessen wrote:
On Nov 9, 2006, at 7:16 PM, Benjamin Franksen wrote:
Carl Witty wrote:
If you have operators op1 and op2, where the compiler sees
conflicting
requirements for the precedence of op1 and op2, then they are
treated as
non-associative relative to each other: the
I'm surprised that no one has mentioned showsPrec and readsPrec. Anything
more complicated than negative fixities would require their interfaces to be
changed.
-- Ben
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
On Wed, 8 Nov 2006, Rohan Drape wrote:
import Sound.SC3
import Control.Concurrent (forkIO)
ping f a = out 0 (sinOsc AR f 0 * e)
where c = EnvNum (-4.0)
e = envGen KR 1 a 0 1 removeSynth (envPerc 0.1 0.6 1 [c,c])
latency = 0.01
bundle t m = OscB (t + latency) m
On Fri, 10 Nov 2006 01:44:15 +0100, Donald Bruce Stewart
[EMAIL PROTECTED] wrote:
So back in January we had lots of fun tuning up Haskell code for the
Great Language Shootout[1]. We did quite well at the time, at one point
ranking overall first[2]. [...]
Haskell suddenly dropped several
On 11/10/06, Henk-Jan van Tuyl [EMAIL PROTECTED] wrote:
On Fri, 10 Nov 2006 01:44:15 +0100, Donald Bruce Stewart
[EMAIL PROTECTED] wrote:
So back in January we had lots of fun tuning up Haskell code for the
Great Language Shootout[1]. We did quite well at the time, at one point
ranking
Sebastian Sylvan wrote:
On 11/10/06, Henk-Jan van Tuyl [EMAIL PROTECTED] wrote:
On Fri, 10 Nov 2006 01:44:15 +0100, Donald Bruce Stewart
[EMAIL PROTECTED] wrote:
So back in January we had lots of fun tuning up Haskell code for the
Great Language Shootout[1]. We did quite well at the time,
On 11/10/06, Henk-Jan van Tuyl hjgtuyl at chello.nl wrote:
Haskell suddenly dropped several places in the overall socre, when
the
size measurement changed from line-count to number-of-bytes after
gzipping. Maybe it's worth it, to study why this is; Haskell
programs
are
often much more
igouy2:
On 11/10/06, Henk-Jan van Tuyl hjgtuyl at chello.nl wrote:
Haskell suddenly dropped several places in the overall socre, when
the
size measurement changed from line-count to number-of-bytes after
gzipping. Maybe it's worth it, to study why this is; Haskell
programs
are
When I run this, then SuperCollider emits the error
FAILURE ew Command not found
Do you use some new feature?
No, however you may need to run darcs update, there was an error in
the OSC bundle encoder that I located writing that example:
Wed Nov 8 21:29:28 EST 2006 Rohan Drape [EMAIL
First off, thanks for the reply.
I am accustomed to GHC ignoring instance contexts as you mentioned.
It's the mostly part that I'm curious about: mostly implies there's
some phases that don't ignore context. Is that only the checking the
type of the method definitions and absolutely nothing
18 matches
Mail list logo