In 2htdp/image the implementations of Sierpinski triangle and carpet are nice
and simple, which is great for using them in class.
(define (carpet size c)
(if (<= size 2)
(square size "outline" c)
(local [(define sub (carpet (/ size 3) c))
(define ctr (square (/ size 3
On Oct 20, 2010, at 9:48 PM, Eric Hanchrow wrote:
> On Wed, Oct 20, 2010 at 10:54 AM, Shriram Krishnamurthi
> wrote:
>> I turn off menu key bindings:
>>
>> Edit | Preferences... | Editing | General | Enable keybindings in menus
>
> Aha! I think I used to know that ...
>
> ... while we're on
Yesterday, Carl Eastlund wrote:
> I'm not sure I know what problem you're running into, but if you use
> Perl regular expression be sure to use (pregexp ...) to compile them
> or #px"..." to write them. Otherwise you get a slightly different
> regular expression language (compatible with Unix util
> sorry for possibly being too impatient - but could anyone just tell me if
> Moby for Android is being further maintained/developed and what the current
> state would be?
> The thing is, I got so much involved in thinking about developing something
> for Android now, I could also imagine helpin
Has anyone come up with a good way to do "raise-type-error" for keyword
arguments?
For example, to extend the "feed-animals: expects type as 3rd
argument, given:dog; other arguments were: cow sheep cat" form to
keyword arguments, I was thinking that the application:
(foo "a" "b" #:x 42 #:y
wow.. thank you for your very kind explain
it is very helpful and I notice how do they works
thanks a lot!
2010/10/29 synx
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Racket is different from most languages in that it has a flexible
> syntax. That means you can define new syntactical c
6 matches
Mail list logo