[racket] Future function in Racket

2012-12-18 Thread Mohammad Mustaqeem
Hello, I want to verify that "is future executes the thunk in parallel"? For that, I need an example that show the difference between execution time of the using future and without it. Please, give me an example verifies that "future executes the thunk in parallel"

[racket] Graph Rendering in profile module

2012-12-17 Thread Mohammad Mustaqeem
I am looking for graph rendering that constructs the call graph of the program. I found this - http://docs.racket-lang.org/profile/index.html?q=profile#(mod-path._profile) But I am unable use it because I don't know how to use it. Please, can somebody explain me by giving examples? ___

Re: [racket] Matching patterns of two function

2012-12-02 Thread Mohammad Mustaqeem
Thanks a lot. But I want to test equality of two functions by comparing their call-graphs. If you know, plz tell me? How to construct call-graph of functions. Racket Users list: http://lists.racket-lang.org/users

[racket] Matching patterns of two function

2012-11-30 Thread Mohammad Mustaqeem
I have a problem in matching the patterns of two functions. I want to match two function whether they are following the same pattern or not? e.g. The "sum" function that computes the sum of all the elements of the list and "length" function that computes the length of the list. Here, we see that bo

[racket] Printing the profile results using Graphviz

2012-11-29 Thread Mohammad Mustaqeem
Has anyone ever used "(require profile/render-graphviz)"?? I don't know how to use it. Please give an example. Racket Users list: http://lists.racket-lang.org/users