is a mistake, since there is
no way to change it after uploading.
If your mail address changes, or if you don't want to maintain a package
any more, or if you simply change your mind about receiving status
updates by email, then if this gets hardcoded in the .cabal file you
have no recourse.
C
On 2011-06-06 13:39 -0400, Nick Bowler wrote:
> On 2011-06-06 13:08 -0400, Albert Y. C. Lai wrote:
> > Recall that the problem is not with isolated characters, but whole strings.
> [...]
> > in LaTeX, "%%@#$&^*" is a comment.
>
> This example probably does
ged at any time,
the above is not necessarily a comment. Furthermore, even with the
default character classifications, \% does not introduce a comment.
\% not introducing a comment in (La)TeX doesn't seem a whole lot
different from --- not introducing a comment in Haskell.
--
Nick Bowler, El
polar(double theta, double *x, double *y)
{
point_t tmp = polar(theta);
*x = tmp.x;
*y = tmp.y;
}
Cheers,
--
Nick Bowler, Elliptic Technologies (http://www.elliptictech.com/)
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
later point, in
which case the NaNs can be discarded.
Cheers,
--
Nick Bowler, Elliptic Technologies (http://www.elliptictech.com/)
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
gt; timestamp rather than a newer one. This should not cause your build
> system to ignore them. It can happen for any number of reasons:
> restoring from backup, switching repository, bisecting the history of
> a repo, clock skew on different machines,
All of these operations update
epo directories (call them A and B) with different versions of
some file, and you share a build directory between them, it is very
likely that after building A, a subsequent build of B will fail to work
correctly.
--
Nick Bowler, Elliptic Technol
head],
> checkout/update to foo's head/tip and compare.
No need to do a checkout; gitk can visualize any or all branches of the
repository simultaneously.
--
Nick Bowler, Elliptic Technologies (http://www.elliptictech.com/)
___
Haskell-Cafe
> 2) Can the same improvement be accomplished using RULE pragma's?
No, because the two methods do not compute the same function.
However, there are (or were) broken RULE pragmas in GHC which
do this sort of transformation. Such RULEs make realToFrac
really fun because your program'
art of non-breaking space refers to breaking text
into lines. In other words, if two words are separated by a
non-breaking space, then a line break will not be put between those
words. A non-breaking space does *not* make two words into one word.
--
Nick Bowler, Elliptic Technologies (http://w
is another header, Mail-Followup-To, which tells MUAs to also drop
the To and CC lists. I know several posters to this very list use it.
However, it needs to be used with care because it can fragment cross-
list discussions and/or prevent non-subscribers from receivin
ifferent matter. It might be be simpler to drop into
> the Symbol font (should be present for all broswers) and use
> arrowright - code 0o256.
Except that the "Symbol" font family is not available in all browsers.
--
Nick Bowler, Ell
On 2010-11-01 20:09 +0100, Daniel Fischer wrote:
> On Monday 01 November 2010 19:55:22, Nick Bowler wrote:
> > That being said, there is an Ord instance for tuples (a
> > lexicographic ordering) and for this case I think it would make the
> > most sense to use that: select an
being said, there is an Ord
instance for tuples (a lexicographic ordering) and for this case I think
it would make the most sense to use that: select an element from the set
{ x : lo <= x <= hi }
--
Nick Bowler, Elliptic Technologies (http://www.elliptictech.com/)
tion in Firefox is such that the style sheet resets to the
default if you reload the page or follow any link. This makes the
feature completely useless in practice.
--
Nick Bowler, Elliptic Technologies (http://www.elliptictech.com/)
___
Haskell-Ca
= 329 MB/s which is larger
> >
> > Shouldn't that be bits/s, or 800*600*3*30 = 41 MB/s?
> >
>
> yep, blame that on lack of sleep, I guess...
Nevertheless, 4x AGP (circa 2000) can easily sustain the significantly
exaggerated rate of 329 MB/s.
--
Nick Bo
and would be more
> future-proof against changes in the RTS or between compilers.
I thought "safe" meant "the foreign function is allowed to call Haskell
functions", which seems to not have anything to do with whether the
function is re-entrant (
at modern system is
absolutely *not* a problem.
--
Nick Bowler, Elliptic Technologies (http://www.elliptictech.com/)
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
I haven't
encountered an issue with gmane and this list, although admittedly I
don't use it often.
> [Well, apart from that stupid Thunderbird bug they still haven't fixed
> yet. But that's a client bug. Use a different client and it goes away.]
The same can be said abou
mentary.
>
> http://news.gmane.org/gmane.comp.lang.haskell.cafe
Ah, I didn't realise the gmane web interface supported followups (I knew
the NNTP interface did, and mentioned this elsewhere in this thread).
Looks like we've already got a web forum, then, so I guess there's
nothi
lish one and use
> it, and for those who prefer the mailing list approach to continue to
> use that.
It seems to me, then, that a wine-like web forum <-> mailing list
gateway would satisfy everyone without fragmenting the community?
See http://forum.winehq.org/viewforum.p
as a server in your newsreader and
subscribe to gmane.comp.lang.haskell.cafe.
--
Nick Bowler, Elliptic Technologies (http://www.elliptictech.com/)
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
of issues of spam control, moderation, topic
> subdivisions, the ability to correct posts, and threading (usually web
> forums have these things and mailing lists do not).
Since when do mailing lists not have threading? Web forums with proper
support for threading seem to be few and far apart
web forum that is directly connected to their mailing lists:
each post on the forum is sent to the corresponding list and vice versa.
The web forum interface doesn't support proper threading, but it
otherwise seems to work OK. Perhaps something like that would be
useful?
--
Nick Bowler, Ellip
rgument' function to
Monads (this is not possible on mere Functors, hence there's no fmap2).
> It would seem that the monad values must understand the function
> that's being promoted, like Ints understand (+).
Yes, liftM2 (+) gives you a new function with type
(Num a, Mona
On 16:21 Fri 09 Jul , John Meacham wrote:
> I would think it is a typo in the report. Every language out there seems
> to think 0**0 is 1 and 0**y | y /= 0 is 0. I am not sure whether it is
> mandated by the IEEE standard but a quick review doesn't say they should
> be undefined (and the report
cial applications
would likely define Float as the decimal64 format, and Double as the
decimal128 format. isIEEE would return True since these types and
related operations conform to the IEEE floating point standard.
--
Nick Bowler, Elliptic Technologies (http://www.elliptictech.com/)
_
quire IEEE 754 binary encodings.
In fact, it permits 'Float' to be a decimal floating point type.
--
Nick Bowler, Elliptic Technologies (http://www.elliptictech.com/)
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/
all intents and purposes, a class for partial orders would be
totally fine for floating point. Sure, it's not reflexive in the
presence of NaNs. Sure, it's not antisymmetric in the presence of
negative zeros. On the other hand, it does satisfy a restricted form
of reflexivity and
you have observed). Data.Map.insert with Double
keys can cause elements to disappear from the map (at least as far as
Data.Map.lookup is concerned). Using "sort" on a list of doubles
exposes the underlying sorting algorithm used.
--
Nick Bowler, Elliptic Technologies (http://www.ellipt
, or maybe nowadays I might call them
> improper functions. The "good" functions are respectful functions or
> proper functions.
> Try using the (x == y) ==> (f x = g y) test yourself.
Your definitions seem very strange, because according to this, the
functions
f :: Doubl
ones
> I would like to include, and then click the "Download darcs/git/whatever
> patch" button. (rather than get hit by emails )
The resulting patches will be patently useless, because the only sort of
changes they can make is to append bullet points to existing documentation.
U
preprocessor".
This work is certainly within the scope of a summer project.
--
Nick Bowler, Elliptic Technologies (http://www.elliptictech.com/)
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
On 18:25 Tue 23 Mar , Iustin Pop wrote:
> On Tue, Mar 23, 2010 at 01:21:49PM -0400, Nick Bowler wrote:
> > On 18:11 Tue 23 Mar , Iustin Pop wrote:
> > > I agree with the principle of correctness, but let's be honest - it's
> > > (many) orders of magnit
ta.Text.Lazy (system readFile + pack + length) - 26s, correct length.
>
> String (system readfile + length) - ~1 second, correct length.
Is this a mistake? Your own report shows String & readFile being an
order of magnitude faster than everything else, c
l-d or ctrl-c?
> tail -f needs ctrl-c (or I need to kill the process)
These so-called "control characters" are normally configured by termios.
If suitably configured, the appropriate action will be performed when
the control characters are written to the
On 14:30 Fri 05 Mar , Achim Schneider wrote:
> Nick Bowler wrote:
> > I meant to say that "fromRational . toRational" is not appropriate for
> > converting values from one floating point type to another floating
> > point type.
>
> It gets even worse:
On 17:45 Thu 04 Mar , Daniel Fischer wrote:
> Am Donnerstag 04 März 2010 16:45:03 schrieb Nick Bowler:
> > On 16:20 Thu 04 Mar , Daniel Fischer wrote:
> > > Yes, without rules, realToFrac = fromRational . toRational.
> >
> >
> >
> > > I think o
y way to "correctly" perform Double<=>CDouble is unsafeCoerce.
--
Nick Bowler, Elliptic Technologies (http://www.elliptictech.com/)
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
39 matches
Mail list logo