G'day all.
On Tue, Jul 29, 2003 at 12:11:29PM +0200, Konrad Hinsen wrote:
> I think that C++ was a lot worse, even the accepted features (e.g. templates)
> didn't work the same with all compilers. All non-trivial code came with a
> list of supported compilers.
True. If we had more Haskell imp
On Wednesday 16 July 2003 00:02, Hal Daume wrote:
> > But it looks the Graph class works on types a and b
> > where a is the Node type where b is the Edge type, or
> > just the other way around :), I don't have the code
> > right now.
>
> Yes, 'Graph n e' is a graph whose nodes are labelled with el
perhaps something like 'vim.sf.net's script section. where anyone can
post a script (or haskell file). and everyone can immediatly see and
download it. the good ones filter to the top, and since the individual
files don't need to be part of a larger library infrastructure there is
much more capabil
On Mon, Jul 28, 2003 at 03:23:30PM +1000, Andrew J Bromage wrote:
> G'day all.
>
> On Sun, Jul 27, 2003 at 10:36:46PM -0400, Dylan Thurston wrote:
>
> > However, I would be sure to distinguish between an inner product space
> > and a vector space.
>
> That's true. If you're after a completely g
At 11:40 29/07/03 -0700, John Meacham wrote:
Hey, I wrote a CSV parser too. seeing as how this seems like a common
thing (having 3 independent implementations at least), perhaps it
belongs in libraries somewhere? some area dedicated to useful little
grammers would be handy. csv, c header files, .x
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Tuesday 29 July 2003 01:40 pm, John Meacham wrote:
> Hey, I wrote a CSV parser too. seeing as how this seems like a common
> thing (having 3 independent implementations at least), perhaps it
> belongs in libraries somewhere? some area dedicated to u
Hey, I wrote a CSV parser too. seeing as how this seems like a common
thing (having 3 independent implementations at least), perhaps it
belongs in libraries somewhere? some area dedicated to useful little
grammers would be handy. csv, c header files, .x (rpcgen), various
preference file formats, et
On Tuesday 29 July 2003 2:06 pm, Bayley, Alistair wrote:
> I've got resource acquisition (and release) code which looks like this at
> [...]
> How should I structure it to handle exceptions raised by the various
> functions (envCreate, handleAlloc, dbLogon, etc)?
Use the bracket, bracket_ and fina
> Nevermind the previous version, I've solved a few bugs in it (like unquoted
> numbers and correctly handling blank fields).
1. Any string without commas or newlines can be unquoted; no need to restrict it to
digits.
2. In a quoted string, "" (that is, two double quotes) stands for one double
Nevermind the previous version, I've solved a few bugs in it (like unquoted
numbers and correctly handling blank fields).
Here's my current version:
import Parsec
import System.IO
-- Sometimes unquoted numbers appear
number
Shawn P. Garbett wrote:
I did a small search for parsing a comma seperated file in Haskell and didn't
find anything--
I threw one together a while ago:
http://www.xoltar.org/languages/haskell/CSV.hs
which isn't much different than your example, though it does handle
nested quotation marks.
I did a small search for parsing a comma seperated file in Haskell and didn't
find anything-- so I put together some code to do this. It doesn't handle
whitespace very well, this would be a nice addition if someone has an idea
out there. Also the rows method, I had trouble just using two do loop
I've got resource acquisition (and release) code which looks like this at
present:
> connect = do
> envHandle <- envCreate
> errHandle <- handleAlloc oci_HTYPE_ERROR envHandle
> serverHandle <- handleAlloc oci_HTYPE_SERVER envHandle
> connection <- dbLogon "user" "password" "database" envH
Hi there,
I used the PARSEC parser combinator library to create
an following XML-Parser. It's not exactly XML, but
it's a usefull format for saving various data.
The big difference there is, is that I don't have
attributes, but those could easily be added, although
I don't need them.
Below is the
On Tuesday, Jul 29, 2003, at 11:16 Europe/London, Keith Wansbrough
wrote:
I was wondering if idiocy was my problem there, I don't see the
directory though:
[nimbus2:project/hmake-3.08/targets] tatd100% ls -la
total 0
drwxr-xr-x 3 tatd100 staff 102 Jul 29 10:42 .
drwxr-xr-x 14 tatd100 staff
On Tuesday 29 July 2003 04:10, Andrew J Bromage wrote:
> There is no ISO standard Haskell. There is Haskell 98, but that was
> deliberately designed to be a simpler language than what came before
> it, with no experimental features, partly to make teaching the language
> easier. (You can't write
On Tuesday, Jul 29, 2003, at 11:03 Europe/London, Keith Wansbrough
wrote:
Yes, after configuring, try editing the generated config file as
follows:
In targets/`harch`/config, change the line
READLINE=""
to
READLINE="-DUSE_READLINE=1 -L/sw/lib/ -lreadline"
then proceed to 'make' as usual.
On Tuesday, Jul 29, 2003, at 10:19 Europe/London, Malcolm Wallace wrote:
Thomas Davie <[EMAIL PROTECTED]> writes:
I'm just trying to get started with haskell and have been having
some
problems getting hmake to compile. For some reason it doesn't detect
libreadline. FYI, I'm running Mac OS X
Thomas Davie <[EMAIL PROTECTED]> writes:
>I'm just trying to get started with haskell and have been having some
> problems getting hmake to compile. For some reason it doesn't detect
> libreadline. FYI, I'm running Mac OS X.2.6
>
> Has anyone got any ideas for where I could go from here?
19 matches
Mail list logo