On 07/31/2012 01:15 AM, Richard Cleis wrote:
On Jul 30, 2012, at 10:53 PM, D Herring wrote:
Hi,
How would one accomplish the following in DrRacket?
"apropos" (CL/shell) or "lookfor" (Matlab)
Given a search string, return a list of symbols with matching name or
documentation.
I found that XR
On Jul 30, 2012, at 10:53 PM, D Herring wrote:
> Hi,
>
> How would one accomplish the following in DrRacket?
>
> "apropos" (CL/shell) or "lookfor" (Matlab)
> Given a search string, return a list of symbols with matching name or
> documentation.
> I found that XRepl has the ,apropos command; bu
Hi,
How would one accomplish the following in DrRacket?
"apropos" (CL/shell) or "lookfor" (Matlab)
Given a search string, return a list of symbols with matching name or
documentation.
I found that XRepl has the ,apropos command; but I haven't figured out
an easy way to invoke it in DrRacket.
I have version 5.2.1 for windows 32-bit
I'm trying to make an OpenGL program for a roguelike, so, I'm trying to get a
frame that can be updated and interacted with.
The problem is that after i practically copied gl-frame and gears to get a
canvas class going and started trying simple drawing,
Here is how I suggest our freshmen to find this function:
;; tabulate : (x -> y) Nat -> (listof y) ;; <--- MF: not fix of signature
;; to tabulate f between n
;; and 0 (inclusive) in a list
(check-expect (tabulate (lambda (x) x) 3) '(3 2 1 0))
(define (tabulate.v0 f n)
(cond
[(= n 0)
Hello,
I am looking at the exercise from htdp 1e on building the tabulate
function from build-list.
Would I be on the right track that I need to create a function to
reverse the result of (build-list (+ n 1) f) to do this?
the function this is to emulate -
;; tabulate : (x -> y) x -> (listof y
Thanks.
On Jul 30, 2012, at 12:16 PM, David Van Horn wrote:
> check-exn should take a thunk as the second argument. I think you want:
>
> (test-begin
> (define x (new grid%))
> (check-exn exn:fail?
>(lambda ()
> (send x set-cell! 1 1 1)
> (send x set-cell!
On 7/30/12 3:13 PM, Gregory Woodhouse wrote:
Okay, here's another question related to my little Sudoku project. Before I
decided to switch to using rackunit for runit tests, I had a unit test that
looked like this
(define (test3)
(let
([val 'fail]
[g (new grid%)])
(with-h
Okay, here's another question related to my little Sudoku project. Before I
decided to switch to using rackunit for runit tests, I had a unit test that
looked like this
(define (test3)
(let
([val 'fail]
[g (new grid%)])
(with-handlers ([exn:fail? (lambda (exn) (set! val 'pass))
Dear All,
Please consider submitting a talk and/or presentation to IFL 2012.
Submissions will be accepted until Wednesday. The CFP is below.
--
Cheers,
Marco
Have a´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´ (¸.·´ * wonderful day! :)
10 matches
Mail list logo