language idea: supertyping classes

2000-03-04 Thread John Meacham
lass hierchy construction... of course, as always, i could just be plain wrong. John -- ------ John Meacham http://synergy.foo.net/~john/ [EMAIL PROTECTED] California Institute of Technology, Student. --

Re: supertyping classes. Reply

2000-03-04 Thread John Meacham
On Sat, Mar 04, 2000 at 08:05:08PM +0300, S.D.Mechveliani wrote: > John Meacham <[EMAIL PROTECTED]> writes on 4 Mar 2000 > > > [..] > > It is VERY useful to allow reuseability of code in ways the original > > author did not anticipate. > > for an example

simple binary IO proposition.

2000-08-31 Thread John Meacham
ke the name 'Byte', i was also fooling around with the type 'Octet' -- -- John Meacham http://repetae.net/~john/ [EMAIL PROTECTED] California Institute of Technology, Alum. --

Re: simple binary IO proposition.

2000-09-01 Thread John Meacham
e been promoting as da' bomb. -- ------ John Meacham http://repetae.net/~john/ [EMAIL PROTECTED] California Institute of Technology, Alum. [EMAIL PROTECTED] --

Re: simple binary IO proposition.

2000-09-03 Thread John Meacham
Prelude functions so as to mesh well with existing codebase and mindshare. John -- ------ John Meacham http://repetae.net/~john/ [EMAIL PROTECTED] California Institute of Technology, Alum. [EMAIL PROTECTED] --

Re: Are anonymous type classes the right model at all? (replying to Re: Are fundeps the right model at all?)

2000-12-29 Thread John Meacham
pular extensions. and I am pretty sure this was too obvious to mention in the lightweight records paper but the section of (.foo) being equivalent to (\{_|foo=v} -> v) seems appropriate. John -- ------ John Meacham http://www.u

Re: {-# LINE 100 "Foo.hs #-} vs. # 100 "Foo.hs"

2001-01-16 Thread John Meacham
make process until compilers have it integrated... any thoughts? anyone have a link to the original paper I am talking about? -- -- John Meacham http://www.ugcs.caltech.edu/~john/ California Institute of Technology, Alum. [EMAIL PROT

Re: An Haskell compilation server

2001-01-17 Thread John Meacham
compilation, on a > properly configured site. That would be easy to do > with hmake. > There are many details to think about (should the > parsing be made locally by the driver, or remotely...). > How does it sound ? --

Re: binary files in haskell

2001-02-05 Thread John Meacham
y may seem out of context. -- -- John Meacham http://www.ugcs.caltech.edu/~john/ California Institute of Technology, Alum. [EMAIL

Re: binary files in haskell

2001-02-08 Thread John Meacham
sentations. (but such access should not be required from a haskell implementation in order to write portable programs which can communicate in externally defined formats) John -- -- John Meacham http://www.ugcs.caltech

Re: Pattern guards vs. case (was, unfortunately :Re: interesting example of laziness/ghc optimisation)

2001-03-01 Thread John Meacham
ss readable than the pattern-guard syntax. hint: read '|' as 'such that' so f n | n < 0 = ... reads "f of n such that n is less than zero is ..." note also that the vertical bar interpreted in this way also has mathematical preciden

Re: Implict parameters and monomorphism

2001-05-04 Thread John Meacham
re > the type is usually monomorphic! It's the other way around which can > cause trouble (e.g. there are no class context synonyms). -- -- John Meacham http://www.ugcs.caltech.edu/~john/ California Institute of Technology, Alum. [EMAIL PROTECTED] ---

Re: Happy and Macros (was Re: ANNOUNCE: Happy 1.10 released)

2001-05-10 Thread John Meacham
a combinator library that matches Happy in > terms of speed (disclaimer: I haven't exhaustively tested them all, but > given the tricks Happy does I'd be surprised). AFAIK none of the > combinator libraries gives you (b). -- --

Re: Proposal for generalized function partition in List-library

2001-05-17 Thread John Meacham
general than the existing partitioning function and > > applicable in many practical cases. > > But here generality comes at the expense of speed I think. -- -- John Meacham

Re: Monomorphize, was: Re: Proposal for generalized function partition in List-library

2001-05-18 Thread John Meacham
d whatnot. (with the help of some pragma annotations.) -John On Fri, May 18, 2001 at 10:32:54AM +0200, Josef Svenningsson wrote: > John, > > On Thu, 17 May 2001, John Meacham wrote: > > [..] > > namely that you don't necisarilly know all of the types of polym

Re: Unicode

2001-05-25 Thread John Meacham
| of excellence is a lethal habit" > WWW: <http://www.cs.mu.oz.au/~fjh> | -- the last words of T. S. Garp. > > ___

Re: hbc

2001-06-20 Thread John Meacham
.se/pub/users/hallgren/Alfa/Haskell/hbc-0..5b.bin-i386-netbsdELF.tar.gz > > Source snapshot: > > http://www.cs.chalmers.se/pub/users/hallgren/Alfa/Haskell/snapshot/1999-09-10/ > > > > _______ > Haskell mailing list > [EMAIL PROTECTED] > ht

Re: newbie syntax question

2001-07-24 Thread John Meacham
someone evaluating whether to learn the language, but more of a two weeks in and not quite getting everything FAQ. John -- ------- John Meacham - C

Re: Student Programming Projects

2001-09-21 Thread John Meacham
month? Thank you very much. -- ------- John Meacham - California Institute of Technology, Alum. - [EMAIL PROTECTED] --- ___ Haskell mailing list [EMAIL PROTEC

Re: Unicode support

2001-09-30 Thread John Meacham
list > to clear the confusion about the nature of characters above U+. -- ------- John Meacham - California Institute of Technology, Al

Re: Enum class

2001-10-23 Thread John Meacham
rementer. which the reals satisfy. this can be demonstrated by things like [1.0, 1.1 ..] which is obviously equinumerous to the integers. I think the confusion comes from the fact that Enum is a misnomer, it does not necisarilly imply the type is countable, just that we can create meaningful c

Re: seq / strictness and laziness

2001-11-12 Thread John Meacham
This would, imo, > be something quite generally useful (and it would be really nice > to be able to derive it). > > - Hal > > ___ > Haskell mailing list > [EMAIL PROTECTED] > http://www.haskell.org/mailman/listinfo/haskell >

Re: Unicode support

2001-10-09 Thread John Meacham
standard librarys would be great. perhaps I will have a go at it. even if the underlying platform does not have iconv then some basic conversions (utf8, utf16, latin1, [Char]) could easily be provided with the same API and minimal implementation effort. John -- --- John Meacham - California Institute of Technology, Alum. - [EMAIL PROTECTED] --- ___ Haskell mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell

Re: Namespaces (was Re: GUI Library Task Force)

2001-10-10 Thread John Meacham
Personally I use symbolic links, either to the file or to the whole directory. This is not ideal since i cannot easily see which projects depend on a given file but at least all the dependencies of a project are visible under one directory without having to reverse-engineer the makefile.

Re: GCD

2001-12-11 Thread John Meacham
in cycles trying to figure out why it isn't redundant, only to conclude that it is. John -- --- John Meacham - California Institute of Technology, Alum. - [EMAIL PROTECTED] ---

Re: More Haskell Blue Sky: Partial Type Annotations

2002-04-11 Thread John Meacham
= x > > I admit that's a bit of a change, and might break programs... In > addition, it doesn't address the occasional need to tie type annotations > together, something that has often made me add ugly dummy arguments used > just for their type. > > -- > Ashley Yak

Re: data structure question

2002-04-17 Thread John Meacham
_ > Haskell mailing list > [EMAIL PROTECTED] > http://www.haskell.org/mailman/listinfo/haskell > -- --- John Meacham - California Institute of Technology, Alum. - [EMAIL PROTECTED] -

Announce+Question: jDrIFT

2002-04-29 Thread John Meacham
it doesnt look like that will happen then perhaps i will have to branch to a new maintained DrIFT inspired project. -- --- John Meacham - California Institute of Technology, Alum. - [EMAIL PROTECTED

Re: Announce+Question: jDrIFT

2002-04-30 Thread John Meacham
DrIFTing, John -- --- John Meacham - California Institute of Technology, Alum. - [EMAIL PROTECTED

Re: updating labelled fields

2002-05-06 Thread John Meacham
there any chance it could > > exist, or is it just syntactic salt to too many people? :) > I whish you better luck than I've had so far whenever making posts about this > same issue ;) > -- ---

Re: SUGGESTION: haskell-announce mailing list

2002-05-10 Thread John Meacham
_ > Haskell mailing list > [EMAIL PROTECTED] > http://www.haskell.org/mailman/listinfo/haskell > -- --- John Meacham - California Institute of Technology, Alum. - [EMAIL PROTECTED] -

Re: preprocessing printf/regex strings (like ocaml)

2002-05-15 Thread John Meacham
-- --- John Meacham - California Institute of Technology, Alum. - [EMAIL PROTECTED] --- ___ Haskell mailing list [EMAIL PROTECTED] http

Problem with FFI?

2002-05-25 Thread John Meacham
to just use haskell as an implementation language for a library which is meant to be called from C. but then again, perhaps i am missing something obvious. John -- --- John Meacham - California Institute of Technology

Re: FW: Haskell accumulator

2002-06-13 Thread John Meacham
s in the IO monad. Hence > > the accumulator requires these imports. > > > > > import IOExts (IORef, newIORef, readIORef, modifyIORef) > > > > > > The accumulator. > > > > > mkAccum :: (Num a) => a -> IO (a -> IO a) > > > mkAccum n = do > > >

Re: deriving instances for "hidden" types

2002-07-29 Thread John Meacham
rep is > > abstract.) > > > > Template Haskell will be able to do this. Heart transplant operation > > is in progress. Blood on floor, but patient still alive. > > > > Simon -- --- John Meacha

Re: good advanced fp (haskell) book

2002-07-31 Thread John Meacham
science is no more about computers| [EMAIL PROTECTED] > than astronomy is about telescopes." -Dijkstra | www.isi.edu/~hdaume > > _______ > Haskell mailing list > [

Re: Main.main naming convention

2002-09-10 Thread John Meacham
reason is that hdoc will > use the name in the module statement instead of the file name, and > rightly so, how is it to know what the module name should be, especially > if the module is in a directory in a hirarchical module space. > > It's not a big thing, but I just wonder if

Re: Time library underspecified

2002-11-14 Thread John Meacham
ell > > > = > Christopher Milton > [EMAIL PROTECTED] > > __ > Do you Yahoo!? > Yahoo! Web Hosting - Let the expert host your site > http://webhos

real-time heap profiling?

2002-12-27 Thread John Meacham
-- --- John Meacham - California Institute of Technology, Alum. - [EMAIL PROTECTED] --- ___ Haskell mailing list [EMAIL

Re: ANNOUNCE: Haskell Wiki resurrected

2002-12-30 Thread John Meacham
> is; I'm just helping him out at the moment. > > ___ > Haskell mailing list > [EMAIL PROTECTED] > http://www.haskell.org/mailman/listinfo/haskell >

Re: Field labels must be globally unique?

2003-01-07 Thread John Meacham
't it seem > that Haskell, as a strongly-typed language, should not have any problem > distinguishing the field labels of different datatypes? > > > Kim-Ee > > > ___ > Haskell mailing list > [EMAIL PROTECTED] > http

Re: Field labels must be globally unique?

2003-01-12 Thread John Meacham
ined right here; do a search on > the archives for "numeric prelude" for an extensive discussion. > > Your proposals seem interesting, but seem hard to implement/make > precise at first glance. > > Best, > Dylan Thurston --

Re: Database Mailing List

2003-01-23 Thread John Meacham
ts of giants > ___ > Haskell mailing list > [EMAIL PROTECTED] > http://www.haskell.org/mailman/listinfo/haskell > -- ---

Re: Binary I/O in haskell.

2003-01-27 Thread John Meacham
welcome > Immanuel -- ------- John Meacham - California Institute of Technology, Alum. - [EMAIL PROTECTED] --- ___ Haskell mailing list [EMAIL PROTECTED] http://www.haskell

MonadIO needs catch?

2003-01-27 Thread John Meacham
worst a MonadIOCatchable deriving from MonadIO could be added... John -- ------- John Meacham - California Institute of Technology, Alum. - [EMAIL PROTECTED] ---

Re: time since the epoch

2003-01-31 Thread John Meacham
, so I'd like to not have to undo it and just get the seconds as they > are. > > Thanks for the help > -mike > ___ > Haskell mailing list > [EMAIL PROTECTED] > http://www.haskell.org/mailman/listinfo/haskell > -- ---

Re: Looking for large Haskell programs

2003-02-04 Thread John Meacham
t large enough. -- ------- John Meacham - California Institute of Technology, Alum. - [EMAIL PROTECTED] --- ___ Haskell mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell

silly questions about 'seq'

2003-02-12 Thread John Meacham
rgument or something? similarly, how does seq work on polymorphic types? without knowing what the unboxed representation is for a type, it seems tricky to know how to place it in WHNF... John -- --- John Meacham -

Re: silly questions about 'seq'

2003-02-14 Thread John Meacham
if so, how is this information passed to polymorphic functions which call seq. it seems that you would have to do something different for abstractions and boxed values.. John On Wed, Feb 12, 2003 at 05:32:33PM -0800, Iavor S. Diatchki wrote: > John Meacham wrote: > >I have

palm?

2003-03-08 Thread John Meacham
John -- --- John Meacham - California Institute of Technology, Alum. - [EMAIL PROTECTED] --- ___ Haskell mailing list [EMAIL

Re: data vs. newtype, abstractly

2003-03-09 Thread John Meacham
gt; The question stated "without its constructor". My guess is > "no". > > /K > > ___ > Haskell mailing list > [EMAIL PROTECTED] > http://www.haskell.org/mailman/listinfo/haskell > -- --

a dream of databases

2003-06-12 Thread John Meacham
ll be quite hacky and unlikely to be very portable. John -- --- John Meacham - California Institute of Technology, Alum. - [EMAIL PROT

Re: System.Directory (was RE: Proposal for a new I/O library design)

2003-07-28 Thread John Meacham
l. perhaps we need a standard trinary data type, True,False,Unknown. I guess (Maybe Bool) works. John -- --- John Meacham - California Institute of Technology, Alum. - [EMAIL PROTECTED] --- ___ Haskell mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell

exceptions

2003-07-29 Thread John Meacham
execption depending on how it was originally thrown... but i am uncertain how. probably some obscure case involving bottoms. But to be on the safe side, thought I'd ask. John -- ------- John Meacham - California

Re: Ann: HAllInOne bug fix release

2003-07-30 Thread John Meacham
gt; > > > Wolfgang > > > > _______ > > Haskell mailing list > > [EMAIL PROTECTED] > > http://www.haskell.org/mailman/listinfo/haskell > > > -- > Haskell mailing list > [EMAIL PROTECTED] > http://www.haskell.org/m

Re: Text I/O library proposal, first draft

2003-07-31 Thread John Meacham
esign. > > - Hal > -- > Haskell mailing list > [EMAIL PROTECTED] > http://www.haskell.org/mailman/listinfo/haskell > -- --

Re: Libraries and hierarchies

2003-08-01 Thread John Meacham
GUID pragmas hsguid uses as input. Let me know what y'all think. library developers, add a GUID to your code. it's easy and takes no resources, but could save users of your library a lot of hassle. :) John -- --

Re: Libraries and hierarchies

2003-08-01 Thread John Meacham
s available at > > http://www.cl.cam.ac.uk/~kw217/research/paper-abstracts.html#Leifer*03:G > lobal ooh. looks interesting. will read. I have really wanted something like this for haskell for a while. John -- --- John Meacham - Cali

Re: haskell for educative games

2003-08-04 Thread John Meacham
edges. John -- --- John Meacham - California Institute of Technology, Alum. - [EMAIL PROTECTED] --- ___ H

POSIX enviornment standard?

2003-08-26 Thread John Meacham
ers should document their behavior (or specify a specific behavior when appropriate) and perhaps set some #defines based on them? John -- --- John Meacham - California Institute of Technology, Alum. - [EMAIL

non blocking System.system?

2003-10-08 Thread John Meacham
s might be written by catching sigCHLD and writing to an mvar, but I can't seem to get at the siginfo_t structure from the haskell signal callback to find out the pid of the process which died. John -- ------- John Meach

calling FunPtr's?

2003-10-17 Thread John Meacham
e return value of out the proper register or memory location, but would obviously be very architecture specific so should be provided by the compiler. does something like this exist? is there another way to do this? John -- --

Re: calling FunPtr's?

2003-10-17 Thread John Meacham
e how I would chose the appropriate dynamic import when they all have different types, in any case I will probably not want to write this by hand.. is there any big overhead in attaching a ton of forign import dynamic statements to a program? John -- -----

Re: Graduate Student

2003-10-22 Thread John Meacham
le to think the future of haskell is full of MySQL errors. john -- ------- John Meacham - California Institute of Te

DrIFT 2.0.1

2003-10-29 Thread John Meacham
to rules * small isLiterate fix (TODO use nhcs deliterizer) * prints debug info in comment in chaseImports * code cleanups * integrated some changes from Strafunski-DrIFT 1.7 * autoconf/automake improvements -- --- John

neat trick: parallel show

2003-11-10 Thread John Meacham
y to do it since the final 'render' routine obviously needs to be in the IO monad so the MVars can be checked again when rerendering.. John -- ------- John M

Re: set representation question

2003-11-12 Thread John Meacham
nt time... John -- ------- John Meacham - California Institute of Technology, Alum. - [EMAIL PROTECTED] --- ___ Has

Re: Why are strings linked lists?

2003-11-28 Thread John Meacham
PackedString, and whatnot instances. It should at least make working with alternate string representations easier. John -- ------- John Meacham -

Re: Why are strings linked lists?

2003-11-28 Thread John Meacham
A standard UTF8 packed string type might be handy though. John -- ------- John Meacham - California Institute of Technology, Alum. - [EMAIL PROTECTED] -

Annotating Expressions

2003-12-16 Thread John Meacham
tp://www.cse.ogi.edu/~sheard/papers/generic.ps -- ------- John Meacham - California Institute of Technolo

safe array freezing?

2003-12-30 Thread John Meacham
isible trickery at least) John -- ------- John Meacham - California Institute of Technology, Alum. - [EMAIL PROTECTED] --- ___

Re: Any versions of Fudgets working with GHC-6?

2004-01-21 Thread John Meacham
this without _casm_? probably the easiest way is to use the preproccess hsc2hs which comes with ghc. it lets you include C code fragments and takes care of splitting out the c code as appropriate. John -- --

[Haskell] regular expression syntax - perl ain't got nothin on haskell

2004-02-23 Thread John Meacham
reImpMatchOnce :: [a] -> Maybe ([a],[a],[a],Array Int [a]), reImpMatchTest :: [a] -> Bool, reImpMatchAll :: [a] -> [Either [a] ([a],Array Int [a])], reImpMatc

Re: [Haskell] regular expression syntax - perl ain't got nothin on haskell

2004-02-23 Thread John Meacham
Excuse me, I meant Andre Pang. not Andrew Pang. It's not enough I steal his good idea, but then I get his name wrong. :) John -- --- John Meacham - California Institute of Technology, Alum. - [EMAIL PROT

Re: [Haskell] regular expression syntax - perl ain't got nothin on haskell

2004-02-24 Thread John Meacham
d. something i have found to be useful, is to use the minimal return type necessary for the task at hand, since any unmatched values will probably need type annotations. John --

Re: [Haskell] regular expression syntax - perl ain't got nothin on haskell

2004-02-24 Thread John Meacham
ldly. (PCRE vs. posix) for example. John -- ------- John Meacham - California Institute of Technology, Alum. - [EMAIL PROTECTED] --- ___

Re: [Haskell] performance tuning Data.FiniteMap

2004-02-24 Thread John Meacham
. although I doubt any of the optimizations will be implementable in haskell any time soon. not ghc's Haskell# even... John -- --- John Meacham - California Institute of Technology, Alum. - [EMAIL PROT

[Haskell] Regular Expressions - take 2

2004-02-26 Thread John Meacham
rg/hawiki/RegexSyntax and haddock documentation here: http://repetae.net/john/computer/haskell/hsregex/hsregex/docs/index.html John -- ------- John Meacham - California Institute of Technology, Alum. - [EMAIL

Re: [Haskell] return?

2004-04-30 Thread John Meacham
lack of an early return seems like an ommision from the do syntax, but an understandable one. John -- John Meacham - ârepetae.netâjohnâ ___ Haskell mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell

[Haskell] getting at performance metainfo

2004-05-26 Thread John Meacham
? I think it could be very useful in 'real-world' programming and evaluating data structures and algorithms programatically. John -- John Meacham - ârepetae.netâjohnâ ___ Haskell mailing list [EMAIL PROTECTED] http://www.haskell.org/mai

[Haskell] ANNOUNCE: DrIFT 2.0.4

2004-05-27 Thread John Meacham
el foo you get foo_u and foo_s to update and set the field respectivly, these can now be used on any data value of the appropriate type, passing through values that don't have the required field untouched. see http://repetae.net/john/computer/haskell/DrIFT/Changelog for the complete changel

Re: [Haskell] Initialisation without unsafePerformIO

2004-06-01 Thread John Meacham
clean' too, since all we are doing is extending the "world" with new state, but in a much cleaner/safer way then writing to a file or environment variable or other methods of storing state in the world. John -- John Meacham - ârepetae.netâjohnâ _

[Haskell] Idea for the Haskell Store

2004-06-02 Thread John Meacham
enence of the haskell site or other worthy haskell projects (or decided on a book-by-book basis I imagine) John -- John Meacham - ârepetae.netâjohnâ ___ Haskell mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell

Re: [Haskell] Idea for the Haskell Store

2004-06-03 Thread John Meacham
ke the works available. :) John -- John Meacham - ârepetae.netâjohnâ ___ Haskell mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell

Re: [Haskell] Re: Initialisation without unsafePerformIO

2004-06-04 Thread John Meacham
On Fri, Jun 04, 2004 at 12:35:14AM -0700, Ashley Yakeley wrote: > In article <[EMAIL PROTECTED]>, > John Meacham <[EMAIL PROTECTED]> wrote: > > > I am a fan of allowing top level declarations of the form: > > > > foo <- newIORef "foo" >

Re: [Haskell] IO, exceptions and error handling

2004-06-14 Thread John Meacham
= runIdentity (sqr x) now sqr' behaves exactly as if you used 'error' and direct code, but the monadic version is still available for those that care about it. John -- John Meacham - ârepetae.netâjohnâ ___ Haskell mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell

Re: [Haskell] Annoying naming clashes

2004-06-14 Thread John Meacham
one might say the language is deficient for forcing you to make the easy decision anyway... but now I am rambling... -- John Meacham - ârepetae.netâjohnâ ___ Haskell mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell

Re: [Haskell] Annoying naming clashes

2004-06-15 Thread John Meacham
at are hard to name and lead to naming conflicts. It is these structures that haskell programers learn are not needed as their skills improve. but yeah, I love intermediate structures as much as the next haskell programmer :) John -- John Meacham - ârepetae.netâjohnâ __

Re: [Haskell] Annoying naming clashes

2004-06-15 Thread John Meacham
On Tue, Jun 15, 2004 at 11:30:24AM +0200, Wolfgang Jeltsch wrote: > Am Dienstag, 15. Juni 2004 04:05 schrieb John Meacham: > > [...] > > > now classes are a bit trickier, the main thing is that classes in > > haskell are not like classes in other languages. A class in has

Re: [Haskell] Annoying naming clashes

2004-06-17 Thread John Meacham
hat have happened in the meantime. I think the moral is, don't hold your breath. and learn pattern guards, they are a really really useful and universal extension to the language. John -- John Meacham - ârepetae.netâjohnâ ___ Haskell

Re: [Haskell] Annoying naming clashes

2004-06-17 Thread John Meacham
t they were in nhc and hugs. although, I must admit, I don't spend much time with these other compilers. in that case, consider this a feature request for all other haskell implementations to retroactivly make my statement true. John -- J

[Haskell] ANNOUNCING: The Haskell Bookstore

2004-06-18 Thread John Meacham
ng on your copyright, send me a note before breaking out the lawyers and I will be happy to work something out :) John -- John Meacham - ârepetae.netâjohnâ ___ Haskell mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell

Re: [Haskell] modern language design, stone age tools

2004-06-23 Thread John Meacham
find them more or less the most unfriendly and useless things > > So how do you debug problems like "Prelude.head: empty list" > in large programs? enable template haskell and use $head where $head is defined to generate 'head' with the error annotated with the curre

Re: [Haskell] modern language design, stone age tools

2004-06-23 Thread John Meacham
ing Exception and the various routines like isIOError were modified to 'look through' these annotations. adding stack traces just where you think it might be useful becomes quite easy then. John -- John Meacham - ârepetae.netâjohnâ _

Re: [Haskell] modern language design, stone age tools

2004-06-23 Thread John Meacham
matching for deconstruction is just a good habit to get into. John -- John Meacham - ârepetae.netâjohnâ ___ Haskell mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell

[Haskell] ANNOUNCE: new books in the bookstore!

2004-07-23 Thread John Meacham
://www.cs.chalmers.se/~boquist/phd/index.html Enjoy the books! More titles are in the queue. :) John -- John Meacham - ârepetae.netâjohnâ ___ Haskell mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell

[Haskell] confusing language in report and a bug in (ghc|hugs)

2004-07-28 Thread John Meacham
o { a,b::Int } au = Foo { a = undefined, b = 0 } main = case au of Foo { b = 1, a = 0 } -> print "foo" _ -> print "bar" ghc => error: Prelue.undefined hugs => "bar" -- John Meacham - ârepetae.netâjohnâ ___ Haskell mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell

Re: [Haskell] confusing language in report and a bug in (ghc|hugs)

2004-07-29 Thread John Meacham
d have been making my life easier. Perhaps I have just not been trained to recognize when it should be used. It is amazing what little things you pick up when you sit down and read the report as if it were a novel :) John -- John Meacham - ârepetae.netâjohnâ ___

Re: Ternary operators in Haskell, an observation (was: [Haskell] Do the libraries define S' ?)

2004-08-02 Thread John Meacham
mp;& g directly where f and g are functions which return bool. http://repetae.net/john/recent/out/Boolean.html it also gives you perl-like short circuting, so Just 'a' || Just 'b' -> Just 'a' and so forth... John -- John Meacham - ârepetae.netâjo

[Haskell] Re: overzealous defaulting?

2004-08-24 Thread John Meacham
-boot files, so they will get whatever is declared in those, but what is the correct thing that should happen in a fully recursive module supporting haskell compiler? John -- John Meacham - ârepetae.netâjohnâ ___ Haskell mailing list [E

  1   2   3   >