УМННБJ, ЯХВ. Войти !bnw Сегодня Клубы

Fear of Macros.
Неплохой туториал по макросам.

http://www.greghendershott.com/fear-of-macros/index.html

#6381U0 / @ninesigns / 4005 дней назад

Гигиенические макросы неудобные. Всё что связывает руки творцу - зло.
#6381U0/29O / @engineer / 4005 дней назад
Неплохой туториал по макросам. https://research.microsoft.com/en-us/um/people/simonpj/papers/meta-haskell/
#6381U0/JEM / @anonymous / 4004 дня назад
@engineer негигиенические макросы могут быть реализованы на гигиене, обратное - неверно.
#6381U0/YLA / @ninesigns --> #6381U0/29O / 4002 дня назад
@kagami в скале и немерле полущ
#6381U0/4KA / @ninesigns --> #6381U0/JEM / 4002 дня назад
@4da Ты уверен в истинности этого тезиса?
#6381U0/EDM / @engineer --> #6381U0/YLA / 4002 дня назад
@engineer да, а в чем проблема?
#6381U0/R52 / @ninesigns --> #6381U0/EDM / 4002 дня назад
@4da http://wiki.call-cc.org/eggref/4/low-level-macros >Unhygienic macros can not be implemented with syntax-rules, so we must use one of the low-level transformers for the implementation. http://en.wikipedia.org/wiki/Hygienic_macro >Syntax-rules is a high-level pattern matching facility that attempts to make macros easier to write. However, syntax-rules is not able to succinctly describe certain classes of macros and is insufficient to express other macro systems. Syntax-rules was described in the R4RS document in an appendix but not mandated. Later, R5RS adopted it as a standard macro facility. http://www.cs.indiana.edu/scheme-repository/R4RS/r4rs_12.html >The primary limitation of the pattern language is that it is thoroughly hygienic, and thus cannot express macros that bind identifiers implicitly.
#6381U0/MYH / @engineer --> #6381U0/R52 / 4002 дня назад
ipv6 ready BnW для ведрофона BnW на Реформале Викивач Котятки

Цоперайт © 2010-2016 @stiletto.