Dmitri O.Kondratiev doko...@gmail.com writes:
Which platform - Mac OS X, Linux or Win32 is best for development with GHC
today?
I think most developers use Linux, which tends to ensure that more stuff
will work there. Most developers will also tend to use recent versions
of everything, so go
But Interlisp-10 had generators back in 1973, if I'm reading
the manual at Trailing Edge correctly.
As the following document explains, generators were common to all
new-generation AI languages that appeared in early 1970 (such as
SAIL, CONNIVER, POPLER, INTERLISP amd QLISP):
Hi, Yitz!
Your example puts scattered around pieces in place, thanks a lot!
On Wed, Jun 15, 2011 at 9:49 AM, Yitzchak Gale g...@sefer.org wrote:
Dmitri O.Kondratiev wrote:
It would also help to see a simple example of parsing 10/11/2009 7:04:28
PM to time and date objects.
Let's assume
On 14/06/2011 17:57, Jason Dagit wrote:
On Tue, Jun 14, 2011 at 4:26 AM, Simon Marlowmarlo...@gmail.com wrote:
On 12/06/2011 20:17, Jason Dagit wrote:
On Sun, Jun 12, 2011 at 11:45 AM, Brandon Allberyallber...@gmail.com
wrote:
On Sun, Jun 12, 2011 at 14:31, Jason Dagitdag...@gmail.com
Dear all,
I want to read numeric data in vector / matrix format generated by octave.
As I haven't seen any octave specific libraries yet (only matlab), I'm
tyrying the way via ascii - file.
The folloing file log.txt contains three signal traces in the three columns
(time, signal 1, signal 2)
Hi,
On 15/06/11 12:13, kaffeepause73 wrote:
let m = read text :: [[Double]]
signalImport: Prelude.read: no parse
read :: String - [[Double]] -- expects Haskell syntax
try something like:
parse :: String - [[Double]] -- expects plainer syntax
parse = map (map read . words) . lines
On Wed, Jun 15, 2011 at 04:13:49AM -0700, kaffeepause73 wrote:
The folloing file log.txt contains three signal traces in the three columns
(time, signal 1, signal 2)
0 30 9
0.1 30 9
0.2 30 9
let m = read text :: [[Double]]
SecondLot
signalImport: Prelude.read: no parse
read :: String - [[Double]] can't read this format. It expects
[[0,30,9],[0.1,30,9],...]
use this code
let m = map f text :: [[Double]]
f a = map g $ lines a
g a = map read $ words a
15.06.2011 15:13, kaffeepause73 пишет:
Dear all,
I want to read numeric data in vector / matrix
---
Subject: Re: [Haskell-cafe] Best platform for development with GHC?
On Wed, 15 Jun 2011, Dmitri O.Kondratiev wrote:
Since I maintain the gnuplot binding for Haskell - what are the particular
problems with that package on Windows?
Hey guys,
thanks for the very quick help. The code works and looks like:
(any tips regards speed and memory usage ?)
import System.IO
import Data.Array
import Data.Packed.Matrix
parse :: String - [[Double]] -- expects plainer syntax
parse = map (map read . words) . lines
main = do
Still have trouble iterating days (
I have:
ds1 = 10/11/2009 7:04:28 PM
ds2 = 10/17/2009 8:48:29 AM
t1 = readTime defaultTimeLocale %m/%d/%Y %l:%M:%S %p ds1 :: UTCTime
t2 = readTime defaultTimeLocale %m/%d/%Y %l:%M:%S %p ds2 :: UTCTime
dif = diffUTCTime t2 t1
I need to:
1) Find how many complete
Hey guys,
thanks for the very quick help. The code works and looks like:
(any tips regards speed and memory usage ?)
import System.IO
import Data.Array
import Data.Packed.Matrix
parse :: String - [[Double]] -- expects plainer syntax
parse = map (map read . words) . lines
main = do
--
*Ketil Malde* ketil at malde.org
haskell-cafe%40haskell.org?Subject=Re%3A%20%5BHaskell-cafe%5D%20Best%20platform%20for%20development%20with%20GHC%3FIn-Reply-To=%3C8739jb60hv.fsf%40malde.org%3E
writes:
I use Ubuntu. Most stuff is fairly up-to-date, but even with six-month
releases, it's lagging
On 15 June 2011 13:38, Gregory Guthrie guth...@mum.edu wrote:
---
Subject: Re: [Haskell-cafe] Best platform for development with GHC?
On Wed, 15 Jun 2011, Dmitri O.Kondratiev wrote:
Since I maintain the gnuplot binding for Haskell - what are the
On Wed, Jun 15, 2011 at 2:16 AM, Simon Marlow marlo...@gmail.com wrote:
On 14/06/2011 17:57, Jason Dagit wrote:
On Tue, Jun 14, 2011 at 4:26 AM, Simon Marlowmarlo...@gmail.com wrote:
On 12/06/2011 20:17, Jason Dagit wrote:
On Sun, Jun 12, 2011 at 11:45 AM, Brandon
Its also worth looking at Arch Linux - they have a rolling release and are
therefore
very up to date and have from first glance a very good haskell integration.
The community
is excellent as well.
I switched back to debian squeeze however, because of its stability - update
seldomly cause
On 15/06/2011 15:41, Jason Dagit wrote:
On Wed, Jun 15, 2011 at 2:16 AM, Simon Marlowmarlo...@gmail.com wrote:
On 14/06/2011 17:57, Jason Dagit wrote:
On Tue, Jun 14, 2011 at 4:26 AM, Simon Marlowmarlo...@gmail.comwrote:
On 12/06/2011 20:17, Jason Dagit wrote:
On Sun, Jun 12, 2011 at
Dmitri O.Kondratiev wrote:
I have:
ds1 = 10/11/2009 7:04:28 PM
ds2 = 10/17/2009 8:48:29 AM
t1 = readTime defaultTimeLocale %m/%d/%Y %l:%M:%S %p ds1 :: UTCTime
t2 = readTime defaultTimeLocale %m/%d/%Y %l:%M:%S %p ds2 :: UTCTime
dif = diffUTCTime t2 t1
I need to:
1) Find how many complete
As a more general response, be careful with parsing dates, because as far as I
can tell, it is easy to print times (with formatTime) that cannot be parsed
(with parseTime). Specifically, if you strip the padding (of zeros or spaces)
there is no way to parse it back in. So parseTime . formatTime
Hi,
try Numeric.Container.loadMatrix.
Regards,
Philipp
On 15.06.2011 14:59, kaffeepause73 wrote:
Hey guys,
thanks for the very quick help. The code works and looks like:
(any tips regards speed and memory usage ?)
import System.IO
import Data.Array
import Data.Packed.Matrix
parse :: String
Sorry if this question was asked billions of times already, but I can not
find a simple string tokenizer.
All I need is to split a line in chunks at specified delimiter such as (,),
nothing more. Don't want to write it myself for two reasons: 1) have to
write lots of other code in very short time
Would this work?
http://hackage.haskell.org/packages/archive/split/0.1.4/doc/html/Data-List-Split.html
On Jun 15, 2011, at 12:21 PM, Dmitri O.Kondratiev wrote:
Sorry if this question was asked billions of times already, but I can not
find a simple string tokenizer.
All I need is to split a
On Jun 15, 2011 11:22 AM, Dmitri O.Kondratiev doko...@gmail.com wrote:
Sorry if this question was asked billions of times already, but I can not
find a simple string tokenizer.
All I need is to split a line in chunks at specified delimiter such as
(,), nothing more. Don't want to write it
On Wed, Jun 15, 2011 at 7:49 AM, kaffeepause73 kaffeepaus...@yahoo.dewrote:
Its also worth looking at Arch Linux - they have a rolling release and are
therefore
very up to date and have from first glance a very good haskell integration.
The community
is excellent as well.
Arch Linux is my
Hi all,
With green light from maintainer Jeremy O'Donoghue, I've uploaded a
trivial update to wxHaskell, relaxing the dependencies so that it builds
with the latest Haskell Platform and does not try to install other
versions of packages.
What is wxHaskell?
On Wed, Jun 15, 2011 at 8:25 PM, Daniel Patterson
lists.hask...@dbp.mm.stwrote:
Would this work?
http://hackage.haskell.org/packages/archive/split/0.1.4/doc/html/Data-List-Split.html
Yes, I think it will. Interface looks just great, thanks a lot!
Forgot reply to all
-- Forwarded message --
From: Sergey Mironov ier...@gmail.com
Date: 2011/6/16
Subject: Re: [Haskell-cafe] [iteratee] how to do nothing .. properly
To: John Lato jwl...@gmail.com
Thanks for explanations! /ErrorT String (Iteratee s m) a/ definitely
does the
On Wed, Jun 15, 2011 at 3:02 AM, Ketil Malde ke...@malde.org wrote:
Dmitri O.Kondratiev doko...@gmail.com writes:
Which platform - Mac OS X, Linux or Win32 is best for development with GHC
today?
How are things with Ubuntu?
I use Ubuntu. Most stuff is fairly up-to-date, but even with
Glad you are reading this issue! This is issue 186, not 180... Seems
that the last couple of issues got stuck on 180. Hopefully you will
find pointers to interesting things happening in the Haskell community.
This issue covers the week of June 05 to 11, 2011.
Announcements
Hakim
29 matches
Mail list logo