Re: [racket-dev] typed/racket for loops?

2011-06-07 Thread Hari Prashanth
Its a bad error message I believe. (: p (Listof Fixnum)) (define p (for/list: : (Listof Fixnum) ([i : Fixnum (in-range 30)]) i)) - Original Message - From: "John Clements" To: "Sam Tobin-Hochstadt" Cc: "dev" Sent: Tuesday, June 7, 2011 3:10:58 PM (GMT-0500) Auto-Detected Subject: [

Re: [racket-dev] Can someone tell whats wrong with this?

2011-02-25 Thread Hari Prashanth
No its unlimited... - Original Message - From: "Matthew Flatt" To: "Hari Prashanth" Cc: "PLT Developers" Sent: Friday, February 25, 2011 8:33:20 PM GMT -05:00 US/Canada Eastern Subject: Re: [racket-dev] Can someone tell whats wrong with this? Do you have

[racket-dev] Can someone tell whats wrong with this?

2011-02-25 Thread Hari Prashanth
The program is killed when the call to `collect' inside for loop is commented... I am using a fairly recent version of Racket... #lang racket/load (module RACKETSET racket/base (require (prefix-in rk: racket/set)) (define list1 (build-list 100 add1)) (define list2 (build-list 100

Re: [racket-dev] F1 on latest release

2010-10-20 Thread Hari Prashanth
I have seen this before... If I remember correctly, it happened after using "raco fileinject" and "raco remove" several times... I just removed .racket directory and it went away... I could not reproduce the problem, so I did not report it... Hari - Original Message - From: "Matthias F

Re: [racket-dev] Bug? identifier `make-Int' not included in nested require spec.

2010-10-04 Thread Hari Prashanth
Ok it does work... Thanks Hari - Original Message - From: "Sam Tobin-Hochstadt" To: "Hari Prashanth" Cc: "dev" Sent: Monday, October 4, 2010 7:16:26 PM GMT -05:00 US/Canada Eastern Subject: Re: [racket-dev] Bug? identifier `make-Int' not included

[racket-dev] Bug? identifier `make-Int' not included in nested require spec.

2010-10-04 Thread Hari Prashanth
Am I doing some thing wrong or is it a bug? #lang racket/load (module UNTYPED racket/base (struct Int (elem)) (provide (struct-out Int))) (module TYPED typed/racket (require/typed 'UNTYPED [struct Int ([elem : Integer])])) I get the following error only-in: identifie

Re: [racket-dev] typed/scheme n00b question

2010-09-05 Thread Hari Prashanth
aise a contract-broken error when fail-thunk raises an exception. So I added exn:fail:filesystem. So how can I have the exception and not the contract error? Hari - Original Message - From: "Shriram Krishnamurthi" To: "Sam Tobin-Hochstadt" Cc: "Hari Prashant

Re: [racket-dev] typed/scheme n00b question

2010-09-05 Thread Hari Prashanth
Sorry.. The return type should be (U Integer Void exn:fail:filesystem) - Original Message - From: "Hari Prashanth" To: "John Clements" Cc: "plt-dev Developers" Sent: Sunday, September 5, 2010 3:06:49 AM GMT -05:00 US/Canada Eastern Subject: Re: [racket-d

Re: [racket-dev] typed/scheme n00b question

2010-09-05 Thread Hari Prashanth
Is this what you are looking for? (require/typed racket/base [file-or-directory-modify-seconds (String (Option Integer) (-> exn:fail:filesystem) -> (U Integer Void))]) Hari - Original Message - From: "John Clements" To: "plt-dev Developers" Sent: Sund

Re: [racket-dev] Problem with GC or with my machine?

2010-09-03 Thread Hari Prashanth
Yes the problem goes away once I turn off the optimizer... I have attached the code. #lang typed/racket (require "que.ss") (head (queue 1 2 3 4)) - Original Message - From: "Vincent St-Amour" To: "Matthew Flatt" Cc: "Hari Prashanth" , "d

[racket-dev] Problem with GC or with my machine?

2010-09-02 Thread Hari Prashanth
I am getting the following error... And this is the only message I get... SIGSEGV MAPERR si_code 1 fault on addr 0xfffc This often means 0xfffc isn't getting marked, and was prematurely freed Aborted What does it mean? Has anyone seen this? If you want to take a look at

Re: [racket-dev] source distribution problems

2010-08-06 Thread Hari Prashanth
I just built plt-src-unix.tgz. I looks good. I didn't see any errors. I built it on Ubuntu 10.04. Hari - Original Message - From: "Eli Barzilay" To: "Matthew Flatt" Cc: dev@racket-lang.org Sent: Friday, August 6, 2010 9:49:17 PM GMT -05:00 US/Canada Eastern Subject: Re: [racket-dev] so

Re: [racket-dev] P4P: A Syntax Proposal

2010-07-28 Thread Hari Prashanth
I have heard students saying that they did not like Scheme syntax/parans even after using it for a whole semester. I really, to this day, haven't understood why they did not like parans. But given an option some people might start liking it/using it. I feel it would be a great idea to have P4P