开发者

Does Haskell have something like gensym in Racket?

开发者 https://www.devze.com 2023-03-11 13:13 出处:网络
It seems that Haskell does n开发者_如何学JAVAot the type of symbol as that in Racket? Is there something that can generate symbols 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

精彩评论

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