开发者

Does Haskell have something like gensym in Racket?

  1. It seems that Haskell does n开发者_如何学JAVAot the type of symbol as that in Racket?
  2. Is there something that can generate symbols like gensym in Racket? e.g. in Racket, (gensym 'label) can give 'label2391


The standard unique supply is Data.Unique. For meta-programming purposes, Template Haskell also provides unique names.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜