ぶー

id:coma2n さんの Boo に関する記事を読んで、僕も最近 Boo を触り始めた。


CLR上でのドメイン特化言語の構築 では

macro transaction:
     return [|
         tx as ITransactionable = $(transaction.Arguments[0])
         try:
              $(transaction.Body)
              tx.Commit()
         except:
              tx.Rollback()
              raise
         finally:
              tx.Dispse()
     |]

というコードが紹介されているけれど、実際はこういうマクロの書き方はできないのだろうか?
finally もホントは ensure のようだし…。