Error in Tutorial 1 #133

Closed
opened 7 years ago by th · 1 comments
th commented 7 years ago (Migrated from github.com)

In 5.5.3 you're supposed to try


#lang pollen
 
◊(void) ; this will become an empty string
◊(string->path "foo")
◊#\C
◊sqrt
◊(sqrt 2)
◊(list 1 2 3 4 5)
◊(map sqrt (list 1 2 3 4 5))

But ◊sqrt leads to "Racket\6.7\pkgs\pollen\pollen\private\main-base.rkt:54:67: pollen: Can't convert procedure #procedure:sqrt to string"

In 5.5.3 you're supposed to try ``` #lang pollen ◊(void) ; this will become an empty string ◊(string->path "foo") ◊#\C ◊sqrt ◊(sqrt 2) ◊(list 1 2 3 4 5) ◊(map sqrt (list 1 2 3 4 5)) ``` But ◊sqrt leads to "Racket\6.7\pkgs\pollen\pollen\private\main-base.rkt:54:67: pollen: Can't convert procedure #<procedure:sqrt> to string"
mbutterick commented 7 years ago (Migrated from github.com)

Thanks! Fixed.

On Nov 29, 2016, at 12:52 AM, Thomas Hühn notifications@github.com wrote:

In 5.5.3 you're supposed to try

#lang pollen

◊(void) ; this will become an empty string
◊(string->path "foo")
◊#\C
◊sqrt
◊(sqrt 2)
◊(list 1 2 3 4 5)
◊(map sqrt (list 1 2 3 4 5))
But ◊sqrt leads to "Racket\6.7\pkgs\pollen\pollen\private\main-base.rkt:54:67: pollen: Can't convert procedure #procedure:sqrt to string"


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Thanks! Fixed. On Nov 29, 2016, at 12:52 AM, Thomas Hühn <notifications@github.com> wrote: > In 5.5.3 you're supposed to try > > > #lang pollen > > ◊(void) ; this will become an empty string > ◊(string->path "foo") > ◊#\C > ◊sqrt > ◊(sqrt 2) > ◊(list 1 2 3 4 5) > ◊(map sqrt (list 1 2 3 4 5)) > But ◊sqrt leads to "Racket\6.7\pkgs\pollen\pollen\private\main-base.rkt:54:67: pollen: Can't convert procedure #procedure:sqrt to string" > > — > You are receiving this because you are subscribed to this thread. > Reply to this email directly, view it on GitHub, or mute the thread. >
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: mbutterick/pollen#133
Loading…
There is no content yet.