Hello Brian,

Saturday, February 3, 2007, 10:55:52 AM, you wrote:

>     bracket_
>             (enter a)
>             (exit a)
>             (do
>                     b
>                     c)        -- looks like LISP...

this pattern is very typical in my programs and i use '$' before last
parameter:

  postProcess_wrapper command $ \postProcess_processDir deleteFiles -> do
  tempfile_wrapper arcname command deleteFiles pretestArchive $ \temp_arcname 
-> do
    bracket (archiveCreateRW temp_arcname) (archiveClose) $ \archive -> do
    ...
  ...

  for compressionOptions $ \option -> case option of
      'd':rest  | Just md <- parseDict rest ->  dict =: md
      ....
  


-- 
Best regards,
 Bulat                            mailto:[EMAIL PROTECTED]

_______________________________________________
Haskell-prime mailing list
Haskell-prime@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-prime

Reply via email to