[Haskell-cafe] type annotations elsewhere

2007-11-07 Thread Jason Dusek
Haskell offers a few different annotations, for example strictness, to optimize programs. It would sure be nice if there were a way to pull the annotations out and put them somewhere else, enabling them, or not, at compile time. There could be several different annotation sets, even -- you could

Re: [Haskell-cafe] Haskell performance question

2007-11-08 Thread Jason Dusek
Can you show us your compilation options and timings? -- _jsn ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Re: Dynamically find out instances of classes (pluginsystem for haskell)

2007-11-22 Thread Jason Dusek
ChrisK [EMAIL PROTECTED] wrote: the standard way to do that is use an existential wrapper: Does this relate to the basket of fruit problem in object oriented languages? You created the existential wrapper to allow a multimorphic list type? -- _jsn

[Haskell-cafe] Why aren't Float and Double Bounded?

2007-11-26 Thread Jason Dusek
Among numeric types, it seems that only integer types are Bounded. -- _jsn ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] regexen no go with 6.8.1?

2007-12-04 Thread Jason Dusek
Is it just me, or are all the regex implementations broken with new change in lib layout for 6.8.1? Are fixes available in darcs? -- _jsn ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] compiler management for Haskell a la RVM?

2010-03-17 Thread Jason Dusek
and then...). -- Jason Dusek ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Are there any female Haskellers?

2010-03-27 Thread Jason Dusek
for too long. -- Jason Dusek ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Are there any female Haskellers?

2010-03-27 Thread Jason Dusek
States. There were alot of people around who felt that women needn't be in the work place or have jobs like mechatronic engineer. She was greatly motivated to leave. In the forties, where would she have gone? -- Jason Dusek ___ Haskell-Cafe mailing

Re: [Haskell-cafe] Re: Are there any female Haskellers?

2010-03-28 Thread Jason Dusek
are on the first and second pages. -- Jason Dusek ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Re: Haskell-friendly Linux Distribution

2010-03-28 Thread Jason Dusek
a well thought out system for bundling up an installed build and creating a binary package for installation on other nodes. -- Jason Dusek ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Re: Are there any gay haskelleres?

2010-03-28 Thread Jason Dusek
I am replying off list. I hope others will do the same. -- Jason Dusek ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Are there any female Haskellers?

2010-03-29 Thread Jason Dusek
, programming, sword play, carpentry and more? What are you attributing to men is not so much superiority of ability but greater motivation? -- Jason Dusek ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo

Re: [Haskell-cafe] Are there any female Haskellers?

2010-03-29 Thread Jason Dusek
2010/03/29 Jason Dusek jason.du...@gmail.com: What are you attributing to men... s/are you/you are/ -- Jason Dusek ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Time for a San Francisco Hackathon?

2010-04-03 Thread Jason Dusek
Dojo? If Noisebridge, I can help with that; I've been part of NB for some time. -- Jason Dusek ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Apparently, Erlang does not have a static type system, since with hot code loading, this is intrinsically difficult.

2010-04-03 Thread Jason Dusek
process is static while the modules governed by it are not. I wonder, is it possible in Erlang to dynamically reload the entire runtime, stem-to-stern? -- Jason Dusek ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org

Re: [Haskell-cafe] Hackage accounts and real names

2010-04-05 Thread Jason Dusek
examples above come to mind) but I don't think contributing code to Hackage (or Cheeseshop or anything else) is like that. -- Jason Dusek ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] ANNOUNCE: JSONb-1.0.0

2010-04-07 Thread Jason Dusek
A new release of JSONb, taking advantage of the latest Attoparsec. http://hackage.haskell.org/package/JSONb-1.0.0 Thanks to Grant Monroe for help with the numerics parser. -- Jason Dusek ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org

Re: [Haskell-cafe] ANNOUNCE: JSONb-1.0.0

2010-04-07 Thread Jason Dusek
2010/04/07 Ivan Lazar Miljenovic ivan.miljeno...@gmail.com: Jason Dusek jason.du...@gmail.com writes:   A new release of JSONb, taking advantage of the latest Attoparsec.     http://hackage.haskell.org/package/JSONb-1.0.0 Is this meant to be a continuation of the json-b package? Yes. I

Re: [Haskell-cafe] Type constrain in instance?

2010-04-09 Thread Jason Dusek
' or `c'. I think that what you're looking for are restricted categories (and restricted monads and functors, as well, perhaps). A cursory search suggests the `data-category' package. -- Jason Dusek ___ Haskell-Cafe mailing list Haskell-Cafe

Re: [Haskell-cafe] Bulk Synchronous Parallel

2010-04-20 Thread Jason Dusek
and it gives you some number of executables that find one another using Bonjour. Values not on this node are found via some hashing scheme (the same scheme used to chunk in the first place). There is a lot to know about this problem area. It would be a great alternative to OpenMPI. -- Jason

Re: [Haskell-cafe] Bulk Synchronous Parallel

2010-04-21 Thread Jason Dusek
workers: http://holumbus.fh-wedel.de/trac/browser/distribution What do you think? -- Jason Dusek ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Lazy Parsing (ANN: vcd-0.1.4)

2010-04-27 Thread Jason Dusek
So UU parsers can construct input? The presence of an empty list in the 2nd slot of the tuple is the only indicator of errors? For parsing datatypes without a sensible default value, what happens? -- Jason Dusek ___ Haskell-Cafe mailing list

Re: [Haskell-cafe] Benchmarks game updated to ghc 6.12.2

2010-05-01 Thread Jason Dusek
I couldn't find a server flag. -- Jason Dusek ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Good US Grad schools for functional languages?

2010-05-24 Thread Jason Dusek
know how you'd have bottom without laziness of some kind. -- Jason Dusek Linux User #510144 | http://counter.li.org/ ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Re: Mining Twitter data in Haskell and Clojure

2010-07-04 Thread Jason Dusek
So I wonder what the timings for Haskell, O'Caml and Clojure are now, given the patch to GHC. -- Jason Dusek Linux User #510144 | http://counter.li.org/ ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo

Re: [Haskell-cafe] Re: Datatypes - Haskell

2008-02-10 Thread Jason Dusek
Mattes Simeon [EMAIL PROTECTED] wrote: Though in comparison with C or C++ I can't figure out so clear the syntax...I seems realy strange, and I'm confused. Surely a solution to this would be to use the standard types of Haskel for tuples and check out each time if I have just a number or a

Re: [Haskell-cafe] Re: HFuse: ls fails in HelloFS

2008-03-24 Thread Jason Dusek
What about System.FUSE then? -- _jsn ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] compilation succeeds -- execution fails

2008-03-28 Thread Jason Dusek
I have a program here: https://svn.j-s-n.org/public/haskell/cedict currently at revision 302, which compiles okay but I can't get it to work. I'm using the FFI to take a (currently small) array and translate it into a Map. It compiles fine and loads fine -- but it doesn't run

Re: [Haskell-cafe] compilation succeeds -- execution fails

2008-03-28 Thread Jason Dusek
Thomas Schilling [EMAIL PROTECTED] wrote: Did you try removing all .hi and .o files? Yes. I tried it again this morning, and I've got the same error -- same unknown symbol, c. I don't have trouble with most Haskell programs on my Mac, so I assume it's the way I'm connecting to C that is

What Does This Message Mean? (Re: [Haskell-cafe] compilation succeeds -- execution fails)

2008-03-28 Thread Jason Dusek
The message unknown symbol `___stginit_cedictzm0zi1zi1_DataziCharziCEDICTziMatter_' says that it can't find the initializer for` Data.Char.CEDICT.Matter` in `cedict-0.1.1` (this is 'z-encoding', if I remember correctly). So, the odd thing is, that is not the part with the C FFI

Re: [Haskell-cafe] compilation succeeds -- execution fails

2008-03-30 Thread Jason Dusek
Bertram Felgenhauer [EMAIL PROTECTED] wrote: Jason Dusek wrote: It compiles fine and loads fine -- but it doesn't run fine: unknown symbol `___stginit_cedictzm0zi1zi1_DataziCharziCEDICTziMatter_' This is a cabal pitfall. Thank you -- this tip saved my bacon. -- _jsn

Re: [Haskell-cafe] compilation succeeds -- execution fails

2008-03-30 Thread Jason Dusek
Stefan O'Rear [EMAIL PROTECTED] wrote: The only type that you are allowed to assume corresponds to a C int is CInt, in the Foreign.C.Types module. This probably isn't the problem, but it could make problems of its own on a 64-bit or otherwise weird system. So say I turn everything back

Re: [Haskell-cafe] compilation succeeds -- execution fails

2008-03-30 Thread Jason Dusek
Thanks for your answers, everybody. -- _jsn ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] runInteractiveProcess and hGetLine on Windows

2008-05-07 Thread Jason Dusek
David Roundy [EMAIL PROTECTED] wrote: ...when in text mode on DOS-descended systems, the character sequence \r\n is converted to \n by the operating system. So basically, Windows supports both the \n convention and the \r\n convention by making a distinction between text and binary read

[Haskell-cafe] LDAP 0.6.3 build failure

2008-06-13 Thread Jason Dusek
I'm trying to build the LDAP libs, version 0.6.3, on a recent MacBook Air with OpenLDAP 2.3.27 (the version of OpenLDAP shipped by Apple). The atom sorting error I get from `ld` is outside my range of knowledge -- if some could advise me on how to get around it, I'd be much obliged.

Re: [Haskell-cafe] Qualified import syntax badly designed (?)

2008-07-09 Thread Jason Dusek
David Menendez [EMAIL PROTECTED] wrote: I've often thought it would be for Haskell to steal Agda's module syntax. It does pretty much everything you want (plus some other stuff we maybe don't need) and the various things it does fit together logically. What does that look like? I've been

Re: [Haskell-cafe] Qualified import syntax badly designed (?)

2008-07-09 Thread Jason Dusek
David Menendez [EMAIL PROTECTED] wrote: Jason Dusek [EMAIL PROTECTED] wrote: David Menendez [EMAIL PROTECTED] wrote: I've often thought it would be for Haskell to steal Agda's module syntax. What does that look like? I've been looking for some kind of documentation for ~20 minutes

Re: [Haskell-cafe] Mutually recursive modules and google protocol-buffers

2008-07-15 Thread Jason Dusek
John Meacham [EMAIL PROTECTED] wrote: Chris Kuklewicz wrote: I have reached an impasse in designing a Haskell API for the google's The messages in protobuf are defined in a namespace that nests in the usual hierarchical OO style that Java encourages. To avoid namespace conflicts, I

[Haskell-cafe] ANN: json-b-0.0.4

2009-10-01 Thread Jason Dusek
This version fixes defective handling of empty objects and arrays. http://hackage.haskell.org/package/json-b-0.0.4 Thanks to Dmitry Astapov for this fix. -- Jason Dusek ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http

Re: [Haskell-cafe] Re: Libraries for Commercial Users

2009-10-25 Thread Jason Dusek
are. -- Jason Dusek ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Arrays in Clean and Haskell

2009-11-03 Thread Jason Dusek
How do you read in the IOUArray? By parsing a character string or do you treat the file as binary numbers or ... ? -- Jason Dusek ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Arrays in Clean and Haskell

2009-11-04 Thread Jason Dusek
2009/11/4 Philippos Apolinarius phi50...@yahoo.ca Jason Dusek wrote: How do you read in the IOUArray? By parsing a character string or do you treat the file as binary numbers or ... ? I always pare the file. Parsing the file has the advantage of alowing me to have files of any format

Re: [Haskell-cafe] Arrays in Clean and Haskell

2009-11-04 Thread Jason Dusek
2009/11/04 Jason Dusek jason.du...@gmail.com:  ...you parse the file I imagine you in face... in face - in fact Sorry. -- Jason Dusek ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Help Haskell driving Medical Instruments

2009-11-09 Thread Jason Dusek
Does marking the call `unsafe` make any difference? This is running on a *NIX of some flavour? -- Jason Dusek ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Help Haskell driving Medical Instruments

2009-11-10 Thread Jason Dusek
if this helps. Here is the compilation script: ghc -fglasgow-exts serial.c  %1.hs -L./ -ljapi --make erase *.hi erase *.o strip %1.exe I encourage you to look into Cabal soon :) -- Jason Dusek ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org

Re: [Haskell-cafe] Parsec - separating Parsing from Lexing

2009-11-10 Thread Jason Dusek
`argv` is `char**` and not `char*`, right?) so we introduce `stringPrim` and then build up the primitives from that. -- Jason Dusek ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Medical Instruments - Jason

2009-11-11 Thread Jason Dusek
`closecport`? Maybe you could put in a print statement in the C to find out? -- Jason Dusek ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] FFI binding -- different behaviour under compilation and interpretation.

2009-11-13 Thread Jason Dusek
) Linking demo ... 0x5cff -1 峿 :; chmod ug+x DemoFailure.hs DemoFailure.hs 0x5cff 2 峿 Switching between safe/unsafe does not make any difference. This was run on a Macintosh. -- Jason Dusek #!/usr/bin/env runhaskell {- DemoFailure.hs -} {-# LANGUAGE

Re: [Haskell-cafe] FFI binding -- different behaviour under compilation and interpretation.

2009-11-13 Thread Jason Dusek
Thank you very much! -- Jason Dusek ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] FFI binding -- different behaviour under compilation and interpretation.

2009-11-13 Thread Jason Dusek
There is a Cabal package for this already: http://hackage.haskell.org/package/setlocale A call to `setLocale LC_ALL (Just )` in `main` fixes things. -- Jason Dusek 2009/11/13 Daniel Fischer daniel.is.fisc...@web.de: Am Samstag 14 November 2009 00:00:36 schrieb Jason Dusek:   I'm

Re: [Haskell-cafe] attoparsec and parsec

2009-11-14 Thread Jason Dusek
). -- Jason Dusek ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] attoparsec and parsec

2009-11-15 Thread Jason Dusek
. However, I was quite keen on releasing my JSON parser in a timely manner; the maintainer was (very reasonably) not on my schedule and I'm not sure my patch was ever applied. -- Jason Dusek ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http

[Haskell-cafe] ANN: wcwidth-0.0.1

2009-11-16 Thread Jason Dusek
column wide. In addition, a little utility is provided that constructs a table of widths by character and a listing of character ranges with the same width. On different systems, `wcwidth` may assign different widths to the same character for some obscure characters. -- Jason Dusek

Re: [Haskell-cafe] I miss OO

2009-11-25 Thread Jason Dusek
; but this doesn't capture the notion that all these records conform to a certain type equation. In this way, Haskell is more demanding of you; but it also offers you a way to make the semantics of your data explicit. -- Jason Dusek ___ Haskell-Cafe

Re: [Haskell-cafe] some help on do and preservingMatrix

2009-11-26 Thread Jason Dusek
) As for `preserveMatrix`, it is some OpenGL thing; probably what it does is ensure that any changes you make to one of the matrices that make up the rendering state are undone once you exit the enclosed computation. -- Jason Dusek ___ Haskell-Cafe mailing list

[Haskell-cafe] Multi-versioning and compatibility classes.

2009-11-30 Thread Jason Dusek
Then the maintainer of Parsec specifies that 2.1.0.1 is compatible with 2.1.0.0 and we can compile the second package, the one that require 2.1.0.0, with 2.1.0.1 since they are compatible and that is all it is asking for. Then we try to use these two packages together and everything works. -- Jason

Re: [Haskell-cafe] Is Haskell a Fanatic?

2009-12-04 Thread Jason Dusek
to be unjust, and it encourages more of the same.  It's like littering your own house. +1 -- Jason Dusek ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Re: [Haskell] ANNOUNCE: control-monad-exception 0.5 with monadic call traces

2009-12-07 Thread Jason Dusek
. -- Jason Dusek ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Why?

2009-12-11 Thread Jason Dusek
to native code in a way that trusts it to be pure, I don't see how having a way to bind to nominally side-effecting Haskell code in a way that trusts it to be pure adds anything to our troubles. -- Jason Dusek ___ Haskell-Cafe mailing list Haskell-Cafe

Re: [Haskell-cafe] Why?

2009-12-11 Thread Jason Dusek
? The types don't tell us what libraries we need. They don't tell us how much RAM/CPU we need, either. Pure functional code as the minimal essence of pure computation -- everything else an EDSL. Partial or total code? -- Jason Dusek ___ Haskell-Cafe

[Haskell-cafe] Re: Pure extremism (was: Re: Why?)

2009-12-13 Thread Jason Dusek
2009/12/12 Luke Palmer lrpal...@gmail.com: On Fri, Dec 11, 2009 at 7:07 PM, Jason Dusek jason.du...@gmail.com wrote:  Where do we draw the line between machinery and packages?  The types don't tell us what libraries we need. ...you might mean what *haskell* libraries does a piece of code

Re: [Haskell-cafe] Why?

2009-12-14 Thread Jason Dusek
2009/12/14 Edward Kmett ekm...@gmail.com: [...] That doesn't mean that I want to subject myself to working in such a sufficient computing environment :) Sufficient? -- Jason Dusek ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http

Re: [Haskell-cafe] consulting and contracting

2009-12-15 Thread Jason Dusek
. I've done one Haskell contract this year, for legal document processing. This was a case where the client was definitely more focused on the solution than the language used and really cared a lot more about a good CLI and clearly defined output for each processing step. -- Jason Dusek

Re: [Haskell-cafe] Re: Optimizing Parsec 3 -- was: Wiki software?

2009-12-15 Thread Jason Dusek
What is the relationship between the Parsec API, Applicative and Alternative? Is the only point of overlap `|`? -- Jason Dusek ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Re: Optimizing Parsec 3 -- was: Wiki software?

2009-12-16 Thread Jason Dusek
2009/12/16 Stephen Tetley stephen.tet...@gmail.com: 2009/12/16 Jason Dusek jason.du...@gmail.com: What is the relationship between the Parsec API, Applicative and Alternative? Is the only point of overlap `|`? Lots of functions in Text.ParserCombinators.Parsec.Combinator can be defined

Re: [Haskell-cafe] Reading from a process

2009-12-16 Thread Jason Dusek
with a Haskell comment, like `-- EOT`. Since your message always comes wrapped in a list, you could just use the square brackets to tell you when you're done. -- Jason Dusek ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman

Re: [Haskell-cafe] Reading from a process

2009-12-16 Thread Jason Dusek
2009/12/16 Mitar mmi...@gmail.com: On Wed, Dec 16, 2009 at 11:25 PM, Jason Dusek jason.du...@gmail.com wrote: Criterion for garbage is that it is not readable with read and that not because there would be not enough data available. It seems that I will need to do buffer filling and reading

Re: [Haskell-cafe] Double free-ing (was: Reading from a process)

2009-12-17 Thread Jason Dusek
(for Haskell) approach. -- Jason Dusek ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Double free-ing (was: Reading from a process)

2009-12-17 Thread Jason Dusek
Concatenating two `ByteString`s is O(n)? -- Jason Dusek ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] Dead links for Web frameworks.

2009-12-20 Thread Jason Dusek
to these two projects and if any docs remain for them. -- Jason Dusek ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] Instances of `IsString`.

2009-12-20 Thread Jason Dusek
A quick check on Hayoo! and in my interpreter shows that there are basically no instances of `IsString`. Is it really so little used? -- Jason Dusek ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo

Re: [Haskell-cafe] Instances of `IsString`.

2009-12-20 Thread Jason Dusek
2009/12/20 Brandon S. Allbery KF8NH allb...@ece.cmu.edu: On Dec 20, 2009, at 17:09 , Jason Dusek wrote:  A quick check on Hayoo! and in my interpreter shows that  there are basically no instances of `IsString`. Is it  really so little used? The only 2 instances I'm aware of are String

[Haskell-cafe] An old package and the new Cabal.

2009-12-20 Thread Jason Dusek
-include-dirs= and --extra-lib-dirs= to specify where it is. It takes like a minute to err out, too. This isn't urgent or anything but it would be nice to know how to get this build process -- C generation followed by compilation -- to work again. -- Jason Dusek

Re: [Haskell-cafe] An old package and the new Cabal.

2009-12-22 Thread Jason Dusek
Thanks; this should be enough for me to get it working again. -- Jason Dusek ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Request to review my attempt at understanding Monads

2009-12-29 Thread Jason Dusek
monadic operations. The `MonadPlus' instance gives you access to `msum'. It's not just about `do' notation :) 3. The comprehension syntax for Lists in Haskell - can that be used in anyway for other Monads? Not anymore, though Gofer used to allow monad comprehensions. -- Jason Dusek

Re: [Haskell-cafe] Request to review my attempt at understanding Monads

2009-12-29 Thread Jason Dusek
more than monadicity -- you need an algebra for `M' at `t'. -- Jason Dusek ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] Alternatives to type classes.

2009-12-29 Thread Jason Dusek
? -- Jason Dusek ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Alternatives to type classes.

2009-12-29 Thread Jason Dusek
2009/12/29 Luke Palmer lrpal...@gmail.com:  They are another group, too -- the group with `*':  Group* = (*, 1, 1 / _) Ignoring 0 for sake of discussion. Doh. -- Jason Dusek ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http

[Haskell-cafe] ANN: HPath-0.0.0

2009-12-29 Thread Jason Dusek
HPath in conjunction with LaTeX macros to allow easy inclusion of Haskell in elaborate documents. -- Jason Dusek ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] ANN: HPath-0.0.0

2009-12-30 Thread Jason Dusek
Yes, I just saw that. http://hackage.haskell.org/package/HPath-0.0.1 It doesn't handle Haskell needing the C preprocessor and there are some real problems with the output of data/type definitions -- I hope to resolve these shortly. -- Jason Dusek

Re: [Haskell-cafe] ANN: HPath-0.0.0

2009-12-30 Thread Jason Dusek
Here is a bug report for the newlines issue: http://trac.haskell.org/haskell-src-exts/ticket/188 A tentative patch is also included. This is not something I can really fix within HPath, unfortunately. -- Jason Dusek ___ Haskell-Cafe mailing

[Haskell-cafe] Timing in atom -- how consistent?

2009-12-31 Thread Jason Dusek
kit from Lady Ada. I am (gratuitously) exploring ways to program it with Haskell. -- Jason Dusek ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Timing in atom -- how consistent?

2010-01-01 Thread Jason Dusek
the work is done by blink_atom() which is called out of the ISR (Interrupt Service Routine). Thanks for the example. -- Jason Dusek ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Timing in atom -- how consistent?

2010-01-01 Thread Jason Dusek
as it is to ensure non-interleaved execution for safe multi-threading? -- Jason Dusek ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Timing in atom -- how consistent?

2010-01-01 Thread Jason Dusek
Wait, no -- I missed something. As long as the outermost Atom routine is run every `n' µs by a hardware clock, the counter (`__global_clock') will contain an accurate count of how many `n' µs intervals have passed in our application. -- Jason Dusek

[Haskell-cafe] ANN: HPath-0.0.2

2010-01-01 Thread Jason Dusek
This version of `HPath' depends on new release of `haskell-src-exts' with improved pretty printing. http://hackage.haskell.org/package/HPath-0.0.2 No other changes have been made. -- Jason Dusek ___ Haskell-Cafe mailing list Haskell-Cafe

Re: [Haskell-cafe] Why can't we make an instance declaration on a type synonym?

2010-01-02 Thread Jason Dusek
Well, you can, with: -XTypeSynonymInstances though I'm not sure it addresses your specific need. -- Jason Dusek ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] ANNOUNCE: system-uuid-1.2.0

2010-01-07 Thread Jason Dusek
Patched by Antoine S. Latter to interoperate with UUID. http://hackage.haskell.org/package/system-uuid-1.2.0 -- Jason Dusek ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Lambda's

2010-01-09 Thread Jason Dusek
I believe GMail put the original message in my SPAM folder. Which is just as well. Let me re-affirm the collective rejection of this post. Very no! -- Jason Dusek ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org

Re: [Haskell-cafe] ssh ports for monk and nun?

2010-01-12 Thread Jason Dusek
Monk and nun? -- Jason Dusek ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Re: looking for origin of quote on preprocessors and language design

2010-01-14 Thread Jason Dusek
thing. It's nice to reflect on the fact that Haskell offers a lot of flexibility for program transformation but is relatively safe from the incomprehensibility that results from the use of monkey patching in Ruby or macros in general. -- Jason Dusek

Re: [Haskell-cafe] Anyone recommend a VPS?

2010-02-01 Thread Jason Dusek
? They don't seem to offer it, last I checked. I'm looking in to doing this with PRGMR, which has pretty good pricing though it's not nearly as featureful as Linode. -- Jason Dusek ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http

Re: [Haskell-cafe] Using Cabal during development

2010-02-09 Thread Jason Dusek
for that. I'm not sure whether this is good or bad practice.) -- Jason Dusek ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] How many Haskell Engineer I/II/IIIs are there?

2010-02-10 Thread Jason Dusek
actually write Haskell, principally or exclusively, at work? -- Jason Dusek ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] How many Haskell Engineer I/II/IIIs are there?

2010-02-10 Thread Jason Dusek
2010/02/10 Tom Tobin korp...@korpios.com: On Wed, Feb 10, 2010 at 9:59 AM, Jason Dusek jason.du...@gmail.com wrote:  I wonder how many people actually write Haskell, principally or exclusively, at work? While I don't suspect the number is large at the moment, the same thing could have been

Re: [Haskell-cafe] How many Haskell Engineer I/II/IIIs are there?

2010-02-10 Thread Jason Dusek
2010/02/10 Roderick Ford develo...@live.com: A U.S. president would probably subsidize such a job-creating endeavor too! The US government generally subsidizes these kinds of things through DoD spending (and a few NSF grants). That is probably hard to get into. -- Jason Dusek

Re: [Haskell-cafe] Re: How many Haskell Engineer I/II/IIIs are there?

2010-02-11 Thread Jason Dusek
else gets them. So going with a totally new system, front-to-back, is not really desirable when all you want is a new RTS; however, I don't think GHC was designed to be a Haskell compiler superserver. -- Jason Dusek ___ Haskell-Cafe mailing list

Re: [Haskell-cafe] Re: How many Haskell Engineer I/II/IIIs are there?

2010-02-11 Thread Jason Dusek
Things are missing but Haskell was certainly fit for practical use two years ago. The big things missing now are trust, mindshare and enough people who think reliability and consistency are a good play for long term productivity. -- Jason Dusek

Re: [Haskell-cafe] Re: How many Haskell Engineer I/II/IIIs are there?

2010-02-11 Thread Jason Dusek
includes for things that aren't available for AVR programming -- locale.h and such. -- Jason Dusek ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Time for a San Francisco Hackathon?

2010-02-12 Thread Jason Dusek
I'd help organize. How do these usually work? Some worthy package is selected for hacking? People hack whatever they like? -- Jason Dusek ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

  1   2   3   4   >