>
> mention_only_once file action = do
> want [file]
> file *> action
>
> main = mention_only_once "file1" $ \x -> do need ["file2"]
> putStrLn "Hello"
> putStrLn "World"
>
>
Thanks Bulat
I guess even th
Hello C,
Sunday, October 3, 2010, 6:59:25 PM, you wrote:
> Thanks Neil,
>> main = do
>> want ["file1"]
>> "file1" *> \x -> do
>> need ["file2"]
>> putStrLn "Hello"
>> putStrLn "World"
> What if I want to mention "file1" only once?
mention_only_once file action = do
want [file]
f
Thanks Neil,
> main = do
> want ["file1"]
> "file1" *> \x -> do
> need ["file2"]
> putStrLn "Hello"
> putStrLn "World"
What if I want to mention "file1" only once?
--
Regards,
Kashyap
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
h
> I checked out the video - nice - but I think, understandably, since
> its not open source yet, not much of implementations details were
> mentioned.
Yes, it's unfortunate.
> So, I have this "unanswered question" nagging in my head. In the
> example below, how can I let the makefile writer refer
>
> Thanks Emil ... yeah, that works...I was wondering what I could do to
> not have to mention "r1" explicitly.
> I'll check out Neil's pdf and video now - perhaps I'll find answers there.
>
I checked out the video - nice - but I think, understandably, since
its not open source yet, not much of i
On Thu, Sep 30, 2010 at 5:35 PM, Emil Axelsson wrote:
> How about:
>
> execute ("gcc -c " ++ dependencyList ++ " -o " ++ target r1)
>
> / Emil
Thanks Emil ... yeah, that works...I was wondering what I could do to
not have to mention "r1" explicitly.
I'll check out Neil's pdf and video now - perh
Thanks Neil
On Sat, Oct 2, 2010 at 10:07 AM, Don Stewart wrote:
> Neil's
>
> * slides http://www.galois.com/~dons/talks/hiw-2010/ndm-shake.pdf
> * video http://www.vimeo.com/15465133
>
> ckkashyap:
>> Hi Neil ... how did the talk go?
>>
>> On Thu, Sep 30, 2010 at 10:23 PM, Neil Mitchell
Neil's
* slides http://www.galois.com/~dons/talks/hiw-2010/ndm-shake.pdf
* video http://www.vimeo.com/15465133
ckkashyap:
> Hi Neil ... how did the talk go?
>
> On Thu, Sep 30, 2010 at 10:23 PM, Neil Mitchell wrote:
> >>> What great timing! I will be giving a talk at the Haskell Imple
Hi Neil ... how did the talk go?
On Thu, Sep 30, 2010 at 10:23 PM, Neil Mitchell wrote:
>>> What great timing! I will be giving a talk at the Haskell Implementors
>>> Workshop tomorrow about the Make system Shake. It will be video taped
>>> and I can send you the slides after I've given the talk.
>> What great timing! I will be giving a talk at the Haskell Implementors
>> Workshop tomorrow about the Make system Shake. It will be video taped
>> and I can send you the slides after I've given the talk. So wait a
>> day, and I'll give you all the answers.
>
> Will you publish the tool too? ;-)
On Thu, Sep 30, 2010 at 13:05, Neil Mitchell wrote:
> Hi,
>
> What great timing! I will be giving a talk at the Haskell Implementors
> Workshop tomorrow about the Make system Shake. It will be video taped
> and I can send you the slides after I've given the talk. So wait a
> day, and I'll give you
Hi,
What great timing! I will be giving a talk at the Haskell Implementors
Workshop tomorrow about the Make system Shake. It will be video taped
and I can send you the slides after I've given the talk. So wait a
day, and I'll give you all the answers.
Thanks, Neil
On Thu, Sep 30, 2010 at 6:02 AM
How about:
execute ("gcc -c " ++ dependencyList ++ " -o " ++ target r1)
/ Emil
2010-09-30 10:41, C K Kashyap skrev:
Also, I wanted some idea
on how(in the current approach) I could make the target name and the
dependency available to the action writer - as shown below.
r1 = Rule {
Hi Warren,
> You might want to take a look at http://github.com/nfjinjing/nemesis
> which is somewhat related.
The above looks like a DSL approach and not an EDSL approach.
--
Regards,
Kashyap
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
htt
Thanks Neil and Warren.
On Thu, Sep 30, 2010 at 3:32 PM, Neil Brown wrote:
> On 30/09/10 09:41, C K Kashyap wrote:
>>
>> Hi All,
>> I was thinking about doing an EDSL for Makefile (as an exercise)
>> I put down my line of thought here -
>> http://hpaste.org/40233/haskell_makefile_edsl
>>
>> I'd
On 30/09/10 09:41, C K Kashyap wrote:
Hi All,
I was thinking about doing an EDSL for Makefile (as an exercise)
I put down my line of thought here -
http://hpaste.org/40233/haskell_makefile_edsl
I'd appreciate some feedback on the approach. Also, I wanted some idea
on how(in the current approach)
Hi,
You might want to take a look at http://github.com/nfjinjing/nemesis
which is somewhat related.
Warren
On Thu, Sep 30, 2010 at 1:41 AM, C K Kashyap wrote:
> Hi All,
> I was thinking about doing an EDSL for Makefile (as an exercise)
> I put down my line of thought here -
> http://hpaste.org/
Hi All,
I was thinking about doing an EDSL for Makefile (as an exercise)
I put down my line of thought here -
http://hpaste.org/40233/haskell_makefile_edsl
I'd appreciate some feedback on the approach. Also, I wanted some idea
on how(in the current approach) I could make the target name and the
de
18 matches
Mail list logo