Eugene Kirpichov ekirpic...@gmail.com writes:
2011/3/17 Ferenc Wagner wf...@niif.hu:
Eugene Kirpichov ekirpic...@gmail.com writes:
2010/12/17 Henning Thielemann schlepp...@henning-thielemann.de:
Eugene Kirpichov schrieb:
I've published a large presentation about two Haskell-based tools
Eugene Kirpichov ekirpic...@gmail.com writes:
2010/12/17 Henning Thielemann schlepp...@henning-thielemann.de:
Eugene Kirpichov schrieb:
I've published a large presentation about two Haskell-based tools of
mine - tplot and splot.
Their motto is visualize system behavior from logs with a
James Andrew Cook mo...@deepbondi.net writes:
What an interesting coincidence, that makes at least three of
us. Apparently it's an idea whose time has come.
Mine is also an incomplete low-level binding but is currently under
semi-active development and I aim to make it cover the entire
bri...@aracnet.com writes:
I worked out a small hdf5 binding using cabal and bindings-DSL and
sqlite3 as my example.
Hi,
I just wanted to add that I also started an HDF5 binding recently (using
hsc2hs only). It does more than enough for me ATM, so I don't develop
it actively, but if you want
wren ng thornton [EMAIL PROTECTED] writes:
[Bug trackers are an excellent source of tasks for active developers to
use so things don't get lost, but they're awful for new developers. For
someone just joining the project it's rarely clear how important a task
is, how hard, or how far
Vikrant [EMAIL PROTECTED] writes:
I was trying to use wash to learn it. I am using ubuntu and I have ghc6.6.1
installed on my system.
I have also installed the package libghc6-wash-dev
but in my code when i write
import WASH.CGI
it gives me following error
firstCGI.hs:5:7:
Could
Alexander McPhail [EMAIL PROTECTED] writes:
I am embarking on a project to bind to CBLAS and CLAPack.
Do you know of http://www.cs.utah.edu/~hal/HBlas/index.html ?
--
Feri.
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
Matthew Brecknell [EMAIL PROTECTED] writes:
enumLines :: (a - String - Either a a) - a - FilePath - IO a
enumLines iter accum filename = do
h - openFile filename ReadMode
flip fix accum $
\iterate accum - do
try_line - try (hGetLine h)
case try_line of
Left e -
Magnus Therning [EMAIL PROTECTED] writes:
Thanks for all the excellent answers to my original question. Somehow
it feels like I advanced and got one level closer to a black belt in
Haskell due to this; I've now legitimately used a function from
System.IO.Unsafe :-)
I tried to document it
Hi,
the following program
main = readFile nonexistent = putStr
is meant to produce an exception. When compiled with GHC 6.4, it
outputs the *** Exception... string to stderr, which makes me happy.
However, when run with runghc6 or runhugs, the message is sent to
stdout, which makes me sad.
Is
Bulat Ziganshin [EMAIL PROTECTED] writes:
of remaining, Ubuntu has widest support here while SuSe is favourite
of my friend. one thing that i like in suse is that it uses the same
RPMs as RedHat and RPMs is widely used for packaging software
available via internet. Is Ubuntu supports RPMs
Donn Cave [EMAIL PROTECTED] writes:
Now that I look at what I did with ldap_set_option, I recall that
s actually a little difficult to assign a type, since the third
parameter is sometimes Int, Enum, TimeVal, String, and LDAP_OPT_*
values overlap in a way that doesn't really say enum to me.
Donn Cave [EMAIL PROTECTED] writes:
On Thu, 13 Jul 2006, Ferenc Wagner wrote:
...
Second, I find no trace of SSL/TLS routines. Is that really
left out, or do I overlook something?
OpenLDAP supports an option LDAP_OPT_X_TLS --
ldap_set_option Nothing LDAP_OPT_X_TLS
Hi,
trying to put WashNGo-2.9 to a nontrivial prototyping job
gave some very compelling results so far, but also got me
stumped on occasions. I'd be grateful for some guidance on
the following points, concerning abstract tables mainly.
* selectionDisplay: looks like displayFun (fourth arg)
Hi,
to start off, I'm using ldap-haskell straight from its darcs
repo under GHC-6.4.1, and it works. Just not quite like I
want.
First, I can't make a static compile:
$ ghc --make prog.hs -o prog
works without a warning, while
$ ghc --make prog.hs -o prog -optl -static
[...]
Hi!
Let me repeat my question from IRC here, too...
I installed HaskellDB and all the necessary stuff (I hope)
as local (not system-wide) packages:
$ ghc-pkg list
/usr/lib/ghc-6.4.1/package.conf:
rts-1.0, base-1.0, haskell98-1.0, template-haskell-1.0, unix-1.0,
Cabal-1.0, parsec-1.0,
Hi,
does anybody know of a library for writing LDIF files? If
not, I may create one, and would be grateful for
suggestions. Is it worth integrating with John Goerzen's
LDAP binding, for example?
--
Thanks,
Feri.
___
Haskell-Cafe mailing list
Mark Carroll [EMAIL PROTECTED] writes:
On Wed, 13 Jul 2005, Dinh Tien Tuan Anh wrote:
(snip)
eg: m = 75, k = 5
= [50, 20, 5]
[50, 20, 1,2,2]
(snip)
Is this problem suitable for functional programming language ?
Oh, what fun. I like this sort of thing. My quick
John Goerzen [EMAIL PROTECTED] writes:
On 2005-06-02, Ferenc Wagner [EMAIL PROTECTED] wrote:
Yes, I also mailed upstream and got no response. But I'm
using WASH under GHC 6.4 without any problems. Automatic
preprocessor invocation is not supported in 6.4, but that
style of coding didn't
John Goerzen [EMAIL PROTECTED] writes:
On Wed, Jun 01, 2005 at 10:54:54AM -0700, Jeremy Shaw wrote:
I have done all of those things in WASH. [...]
From what I can tell, there are two problems with WASH:
1) Everything must be done the WASH way
2) WASH is mostly broken with GHC 6.4
Let
Ben Rudiak-Gould [EMAIL PROTECTED] writes:
Marcin 'Qrczak' Kowalczyk wrote:
Ben Rudiak-Gould [EMAIL PROTECTED] writes:
fileRead can be implemented in terms of OS primitives,
Only if they already support reading from a fixed offset (like pread).
I'm not sure if we can rely on something like
Douglas Bromley [EMAIL PROTECTED] writes:
I've show(n) a particular data type and it shows up as:
[([2,6],British),([1],Charles),([1,8],Clarke),([2,6],Council),([2],Edinburgh),([1],Education),([4],Increasingly)]
What I want to do is format that nicely into a table.
Which would give:
Henning Thielemann [EMAIL PROTECTED] writes:
On Mon, 8 Nov 2004, Keean Schupke wrote:
If you tell me the library you wish to use I may be able
to suggest a better alternative.
I'm using FFTW and PLPlot (but not with Haskell), both
uses internal states and thus must be considered as ill
Peter Simons [EMAIL PROTECTED] writes:
http://cryp.to/blockio/docs/tutorial.html
Pretty neat. Wouldn't it be a nice addition to the
Tutorials section on the Haskell Bookshelf?
Note: as I gather, GHC's lists are not doubly linked.
--
Feri.
___
Crypt Master [EMAIL PROTECTED] writes:
-- gaSolutionSpace :: [a] - [a]
gaSolutionSpace x = x : gaSolutionSpace (evolvepopulation x)
Stop deceiving yourself until it's too late. :)
Why did you comment out the type annotation?
--
Feri.
___
Graham Klyne [EMAIL PROTECTED] writes:
At 18:18 22/04/04 -0400, Mark Carroll wrote:
I have data objects where each component is a labelled
field through which I access or modify it.
Wading into the labelled field debate...
I have found that using the labelled field update syntax
can lead
Matias Hernandez [EMAIL PROTECTED] writes:
I mean, apparently / is not defined for integers but I
don't know how to cast the result of the length function
into a Double...
Prelude (length [1,2]) / 3
Prelude fromIntegral (length [1,2])/3
0.667
Prelude 2 / 3
0.
Glynn Clements [EMAIL PROTECTED] writes:
David Roundy wrote:
On my terminal (aterm), calling
hSetBuffering stdin NoBuffering
within my program messes up the terminal settings somehow
[...]
Disabling buffering with hSetBuffering not only disables
the user-space buffering (analogous to
Hi Sarah,
if Haskell - MetaPost - Postscript is good for you, have a
look at FMP. It's somewhat old and doesn't cover the entire
MetaPost language, but works for me.
Feri.
___
Haskell-Cafe
Damien R. Sullivan [EMAIL PROTECTED] writes:
can I get Haskell to actually do that division itself?
You can use the function
fromRational :: Fractional a = Rational - a
Feri.
___
Haskell-Cafe mailing list
[EMAIL
JJ [EMAIL PROTECTED] writes:
From my perspective, the learning curve for Haskell seems to be near
vertical.
I also found it very steep. Keep on, read the Gentle
Introduction, and start coding. Read the Haskell list,
you'll understand more and more. Then read the Report...
Good luck!
Hello,
What's the way to express the following: a compound object
is generally made up of two components with identical type.
For this common case I'd like to provide some default
methods, which take the object apart, operate on the parts
and put the results back together. In
Johan Steunenberg [EMAIL PROTECTED] writes:
how to store a Double, or any non-char, to a file.
I can give you a general advice: store it in ASCII format
via show, unless you have *VERY* strong reasons against it.
Yes, it results in bigger files (but you can compress them),
and slower (what
With GHC-5.02.2, I do
$ ghci
Prelude :m Ratio
Ratio [1%2..10%2]
[1 % 2,3 % 2,5 % 2,7 % 2,9 % 2,11 % 2]
The question is, why is there 11%2 at the end of the list?
It's inconsistent with the (good) rules for Integer, since
Ratio [1,3..10]
[1,3,5,7,9]
Is this intentional?
Simon Peyton-Jones [EMAIL PROTECTED] writes:
The Report says that the Enum instance for Ratio uses the
same rule as for Float/Double,
Now I can see that the revised Report contains more about
this than the one on haskell.org. But I still can't see the
statement you cited above. Where should
Gerhard Navratil [EMAIL PROTECTED] writes:
I would like to write line graphics into a file
(e.g. contour lines calculated by a Haskell function) and
access the data from standard programs. For the output I
need a Library.
Why don't you output some ASCII numbers, and use another
program
36 matches
Mail list logo