1 ! Copyright (C) 2009 Jason W. Merrill.
2 ! See http://factorcode.org/license.txt for BSD license.
3 USING: kernel parser words effects accessors sequences
6 IN: math.derivatives.syntax
8 SYNTAX: DERIVATIVE: scan-object dup stack-effect in>> length [1,b]
9 [ drop scan-object ] map
10 "derivative" set-word-prop ;