Zoom.Quiet
2018-01-18 12:28:00 UTC
è°è¯ŽåäºïŒææ¶æ²¡æŽæ°æ¯å 䞺åšèªå·±åäžäžªblog engineèå·²
æ¯ä¹ä¹,(ï¿£âœï¿£) éæ°å·, è§å°äº, åªæ¯åœåçšçåŒææ¯:tekuti http://wingolog.org/projects/tekuti/
åªå¿éäžæ»¡æ, èŠèªå·±æ¥æ¬¡å¯åŒ?
åŠå€, Lisp äžçæ类䌌: jinja2 çéçšæš¡æ¿ç³»ç»å?
PS: ä¹å对暡æ¿ç³»ç»è¿œèžªçäžç¯æå¯åŒçæç« :
寻æŸæŽå¥œçæš¡æ¿ç³»ç»è®° - Kenneth's Blog
http://zqpythonic.qiniucdn.com/data/20080922115156/index.html
æ奜ç TPL ::
...å®æ²¡æååïŒå 䞺ä»å®åšå€ªå°äºïŒä» ä» æ30è¡å·Šå³ïŒBlog äœè ä» ä» çšäžç¯ blog 对å®è¿è¡äºä»ç»ïŒè·èŽŽè æ äžäžè¯Ž coolïŒå®å°±æ¯ææ³èŠçã
äœæ¯, 俺æ玢äºåŸä¹ åªæŸå°: John Resig - JavaScript Micro-Templating
https://johnresig.com/blog/javascript-micro-templating/
è¿äžªæçå°±æ¯çæš¡æ¿...
åœå¹Ž, 没å Python web æ¡æ¶ç»åèµ·æ¥,
ç°åš, åŠæèŠäž Scheme/Clojure éæ blogging åŒæçè¯,
äžäžªæ Lispper çæš¡æ¿åŒæå°±åŸéåžžå°å¿äº.
åªæ¯åŒç©ç¬çè¯æ°èå·²ïŒèœç¶äºè
çä»·å¯ä»¥çžäºæ¿æ¢ïŒäœeqan?è¯å®åŸçšeq?æ¥å®ç°ïŒå 䞺å®äžæ¯primitive
æäºåè¿°æäŒå°±å¥œäº
æ¯ä¹ä¹,(ï¿£âœï¿£)æäºåè¿°æäŒå°±å¥œäº
çŠ åž æ¯æ·±å³å客èåžæº:䞪人çœç«èœç¶åäº, äœæ¯, 以åŸçå¯åŒéœæåšæ玢åŒæäžçŒå, åŒåŸææ...
SZDIY Community http://szdiy.org/members
çŒçšæ°æåšç The Little Schemer
<~ 俺补å
äžäžèæ¯, ç»å¯¹çæ°äººçšåºåª, github éœæ泚åäžè¶
è¿å幎,äœæ¯, åªæ¯å 䞺åšåç§çšåºç¿å¿ 读乊åäžæ»æ¯è§å° Scheme è¿äžªè¯èš, ç¶åå°±èªè¡åŒå§åŠä¹ äº.
TLS ch4 p78
Can we assume that all functions written using eq ? can be generalized by replacing eq ? by eqan ?
Yes, except , of course, for eqan? itself.
In TLS, eq? takes two arguments. Each must be a nonnumeric atom.
(define eqan?
(lambda (a1 a2)
(cond
((and (number? a1) (number? a2))
(= a1 a2))
((or (number? a1) (number? a2)) #f)
(else (eq? a1 a2)))))
é®é¢
Yes, except , of course, for eqan? itself.
è¿å¥è¯æ¯ä»ä¹ææïŒ
åæçäžäžæåŠé件æªå±;Can we assume that all functions written using eq ? can be generalized by replacing eq ? by eqan ?
Yes, except , of course, for eqan? itself.
In TLS, eq? takes two arguments. Each must be a nonnumeric atom.
(define eqan?
(lambda (a1 a2)
(cond
((and (number? a1) (number? a2))
(= a1 a2))
((or (number? a1) (number? a2)) #f)
(else (eq? a1 a2)))))
é®é¢
Yes, except , of course, for eqan? itself.
è¿å¥è¯æ¯ä»ä¹ææïŒ
æ ¹æ®ä¿ºçå·ä¹Šäœéª, TLS çå°¿æ§å¢, æ¯ææ代衚/ææ¡, éœæ¯åœç« å ³èç..
æ以, è¿å¥è¯çå«ä¹å°±æ¯åçé®é¢, 没æå€äœçå¯åŒ,
æ¯ç, åšææ eq? åºæ²¡çå°æ¹éœå¯ä»¥çš eqan? æ¥æ¿ä»£,
äœçšæ¯çä»·ç...
æçç解æ¯æ eqan? åœäœå®èªå·±çåæ°è¿è¡æ¯èŸïŒç±»äŒŒ
(eqan? eqan? eqan?)
åš jupyter calysto scheme éæµè¯çç»æéœæ¯ trueãæç §ä¹Šäžçæææ¯æ æ³æ¯èŸåïŒåºè¯¥æä¹ç解ïŒ
(eqan? eqan? eqan?)
åš jupyter calysto scheme éæµè¯çç»æéœæ¯ trueãæç §ä¹Šäžçæææ¯æ æ³æ¯èŸåïŒåºè¯¥æä¹ç解ïŒ
--
life is pathetic, go Pythonic! 人çèŠç, Pythonåœæ!
俺: http://zoomquiet.io
æ: http://creativecommons.org/licenses/by-sa/2.5/cn/
æ: åäœäžå,æ¥åçè¿!å€ä»œäžå,åæ¶äžèµŠ!
KM keep growing environment culture which promoting organization learning!
--
--
Lisp-cn(Lispäžæçšæ·ç»)
CLUG http://lisp.org.cn
---
æšæ¶å°æ€é®ä»¶æ¯å 䞺æšè®¢é äº Google çœäžè®ºåçâLisp-cn(Lispäžæçšæ·ç»)â矀ç»ã
èŠé订æ€çŸ€ç»å¹¶åæ¢æ¥æ¶æ€çŸ€ç»ççµåé®ä»¶ïŒè¯·åéçµåé®ä»¶å°lisp-cn+***@googlegroups.comã
èŠæ¥çæŽå€é项ïŒè¯·è®¿é® https://groups.google.com/d/optoutã
--
Lisp-cn(Lispäžæçšæ·ç»)
CLUG http://lisp.org.cn
---
æšæ¶å°æ€é®ä»¶æ¯å 䞺æšè®¢é äº Google çœäžè®ºåçâLisp-cn(Lispäžæçšæ·ç»)â矀ç»ã
èŠé订æ€çŸ€ç»å¹¶åæ¢æ¥æ¶æ€çŸ€ç»ççµåé®ä»¶ïŒè¯·åéçµåé®ä»¶å°lisp-cn+***@googlegroups.comã
èŠæ¥çæŽå€é项ïŒè¯·è®¿é® https://groups.google.com/d/optoutã