I'm also excited to see examples. Even simple ones!
Based on my understanding of FRP (which may have little bearing on what webwire
actually does, just what I hope it does), what makes it really different is
that it is relatively stateless itself - that's kind of the point, that you
model your
Chris, this is amazing! One question - do you have support for tramping in and
running ghci remotely (or would that be easy to add)? I primarily develop
inside virtual-machines, so while the source code lives where emacs lives, all
the libraries are installed inside the virtual-machine (and the
On Aug 30, 2011, at 1:15 PM, Christopher Done wrote:
1) You put all your source files on the server, too and then run the
GHCi process under tramp and access the files via tramp.
2) Sounds like you'd prefer to keep your files local, which, I suppose
means you want to send code to the server
That doesn't look very promising :(
On Aug 27, 2011, at 5:31 PM, Daniel Fischer wrote:
On Saturday 27 August 2011, 23:10:17, David Virebayre wrote:
2011/8/27 aditya siram aditya.si...@gmail.com:
Hi all,
I would like for the GHCI interpreter to save its environment before
reloading a file
lol. I don't know Andrew Smith. How about y'all?
On Aug 14, 2011, at 12:32 PM, Andrew Smith B.Sc(Hons),MBA wrote:
LinkedIn
I'd like to add you to my professional network on LinkedIn.
- Andrew
Andrew Smith B.Sc(Hons),MBA
Founder and CEO at VTRL - Value Technology Research Ltd
On Aug 8, 2011, at 10:26 PM, Ivan Lazar Miljenovic wrote:
On 9 August 2011 12:04, Arlen Cuss cel...@sairyx.org wrote:
9/08/2011 11:54 AM, Oscar Picasso kirjutas:
Hi,
Is there a public blog that that allow syntax highlighting of Haskell code?
Are you talking about a plugin for a blog
The documentation for the Show typeclass has this very example:
http://hackage.haskell.org/packages/archive/base/latest/doc/html/Prelude.html#t:Show
The summary? you need to define either showPrec or show, the latter of which is
simpler, it is just a - String.
So:
instance Show (Tree Int Int)
Based on the package versioning policy [1], A.B is a major version, so if you
know that it works with 1.2, then it is reasonably safe to specify the range =
1.2 1.3, as no major api breaking changes should occur within the 1.2 range
(ie, 1.2.1 to 1.2.2, etc)
1.
I also think it would be really good to have some documentation that explains
the type system and how to do neat things with it in terms that a reasonably
competent haskell / ML programmer could understand.
I played around with Ur/Web about a year ago and was able to make a simple
Forgot to cc the list
On Jul 8, 2011, at 11:20 AM, Daniel Patterson wrote:
On Jul 8, 2011, at 3:51 AM, Heinrich Apfelmus wrote:
Jason Dagit wrote:
Heinrich Apfelmus wrote:
Do you know any *small GUI programs* that you would *like* to see
*implemented with Functional Reactive Programming
] - [a]
*** Does not match : [String] - Int
I'm still breaking down somewhere ...
2011/6/25 Daniel Patterson lists.hask...@dbp.mm.st:
what haskell compiler are you using? And what does the include line do?
That does not look like a GHC error message (the only compiler I'm familiar
sent from wrong account - message follows:
I've found most of the time library to be quite useful, but the parsing to be
worthless (I've tried to get someone to prove me wrong already, and would be
happy if someone could on this thread!).
Specifically, the formatTime function, if it ever
Daniel Patterson lists.hask...@dbp.mm.st:
so think about the high level design for a second, and let that guide the
types. then the types should guide the code.
p, which I assume is the top level evaluation, is supposed to take a list of
strings, and produce a list of integers (the result
What have you tried to do in order to make it work for the list, and what error
results? What is confusing about the error message? More generally, how could
you transform an operation on a single string into one that does the same thing
to a list of strings? You've probably talked about higher
[] = []
parse (x:xs) = eval (x:xs)
The error from the compiler:
ERROR file:.\list.hs:3 - Syntax error in declaration (unexpected `;',
possibly due to bad layout)
On Fri, Jun 24, 2011 at 11:20 PM, Daniel Patterson
lists.hask...@dbp.mm.st wrote:
What have you tried to do in order to make
(forgot to CC the list)
On Jun 24, 2011, at 8:27 PM, Daniel Patterson wrote:
It looks, from looking at the provided instances (not from having done it
myself), that you need to define safeConvert functions to and from your
value. Here is a partial list of conversions to and from String
Do any of the ones on hackage work for you?
http://hackage.haskell.org/package/csv-0.1.2
http://hackage.haskell.org/package/bytestring-csv
http://hackage.haskell.org/package/csv-enumerator
(note: hackage supports search via google it works reasonably well)
On Jun 16, 2011, at 5:21 PM,
That was my (lazy) fault. I saw the name and (faultily) assumed that it
provided functionality on top of another CSV parser.
On Jun 16, 2011, at 5:33 PM, Henning Thielemann wrote:
On Thu, 16 Jun 2011, Daniel Patterson wrote:
Do any of the ones on hackage work for you?
http
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
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
The problem is that [] alone is not a concrete type - that is what the error is
saying, that [] needs to be applied to another type to yield a concrete type.
IE, you need a list of something, not just the idea of a list. That something
can be polymorphic, so the following works (note the [a]):
(I originally sent this reply from the wrong address, see below)
On Jun 9, 2011, at 11:03 AM, Daniel Patterson wrote:
Also if you are doing this for web, I haven't used it personally (yet), but
http://www.mathjax.org/ looks really good... would allow you to actually just
write it in LaTeX
On May 24, 2011, at 4:46 AM, Ketil Malde wrote:
Replying with a pointer to 'catMaybes' resulted in (most likely) the
author going off to finish/improve his program, and some more
interesting discussion on alternative ways to do this.
What's more, the thread added many other possible
Correct my ignorance as I'm rather new around here, but I'm not sure if I
actually think this happens that much.
Different approaches are often put forth, which does mean that there are
incompatible libraries that fill the same space for a while, but it seems that
once it becomes clear what
I've had good experiences with prgmr VPSes; I currently have a 1024MB VPS that
I'm paying $16 a month for (the month by month rate is $20, but I'm paying for
it yearly). You can also grab a 256MB VPS for $8 month by month or $6.40
yearly, if that'd be enough. In the last year I think there was
I think you need to install HAppS-Data etc globally... I'm not sure why
locally installed (ie, only your user) packages wouldn't be picked up by runghc
Setup.hs'ing, but if they are install system wide it should definitely work.
I think it is cabal --global install foo
On Thu, 29 May 2008
Released May 27th, 2008.
I've been working for a little while on a haskell wrapper to the photo hosting
site Smugmug's api.
As of now, the library is pretty simple - it is 'read-only' - ie, you can't use
it to upload to or create galleries, but I still think it is potentially
useful to
27 matches
Mail list logo