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
It looks to me that the link is generated by javascript, so unless you can
script an actual browser into the loop, it may not be a viable approach.
On Sep 8, 2011, at 3:57 PM, mukesh tiwari wrote:
> I tried to use the PDF-generation facilities . I wrote a script which
> generates the rendering u
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 se
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
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 :
>>> Hi all,
>>> I would like for the GHCI interpreter to save its environment before
>>> reloading a file and allowed t
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
> Ed
On Aug 8, 2011, at 10:26 PM, Ivan Lazar Miljenovic wrote:
> On 9 August 2011 12:04, Arlen Cuss 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 engin
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. http://www.haskell.org/haske
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
application,
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
>>>
me checking in the caller function before
> calling the "eval" funcition.
> Also somehow i have to check the syntax of the string and if it is
> like "=x", the result should be "x= previous string"
>
> Probably i have to user "where" for the
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
7;s still not working:
>>
>> http://hpaste.org/48318
>>
>>
>> Error:
>> ERROR file:.\kursovazadacha.hs:36 - Type error in explicitly typed binding
>> *** Term : p
>> *** Type : [String] -> [a]
>> *** Does not match : [St
(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 fr
ne:
>
> include kursovazadacha
>
> parse :: [a] -> [a]
>
> parse [] = []
>
> 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)
>
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
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 f
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, Dmit
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
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
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
> wri
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 impl
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 th
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
You definitely could use HAppS for that, but considering that it sounds like a
pretty small/lightweight app, you might want to check out hvac
( http://fmapfixreturn.wordpress.com/2008/03/23/ ), which is a newer (but
still surprisingly full-featured) web framework. It is pretty
lightweight, and migh
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 18:11:0
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 haskell/sm
29 matches
Mail list logo