Re: [racket-users] a question or two regarding Gregor

2020-04-27 Thread Tim Hanson
Thanks, Jon! I agree with your analysis and thoughts about which cases should always raise exceptions. (I can't recall whether you scan patterns that include semi-redundant information such as day-of-week; wondered just now whether a contradictory day of week would be another category of except

Re: [racket-users] Question on test failures sorting a BTS

2020-04-27 Thread Jon Zeppieri
In addition to what Jens said, you should probably give a definition of a BST at the top, and give some thought to the question of why a BST is not simply the same thing as a node. - Jon On Sun, Apr 26, 2020 at 10:36 PM Kristina Marie wrote: > > Hello, > I am trying to use HtDF to create a funct

Re: [racket-users] a question or two regarding Gregor

2020-04-27 Thread Jon Zeppieri
On Mon, Apr 27, 2020 at 2:38 AM Tim Hanson wrote: > > hi, I've installed and am trying out > > Gregor: a date and time library for Racket > > and find it to be very powerful and useful. Thanks! > > In my current application (digging through mail headers) I'm wondering > whether there is a way

Re: [racket-users] a question or two regarding Gregor

2020-04-27 Thread Tim Hanson
Thanks. Something like that will let me proceed for now. I'd still be curious what folks think about an approach avoiding exceptions. -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from

[racket-users] Re: Rhombus project plan

2020-04-27 Thread Anurag Mendhekar
First of all, Thank you to the team for making such a fantastic system available for the rest of us. I don't know what I'd have done without it. As a very long time Schemer/Racketeer/Lisper and a consistent industry practitioner (I have used Chez Scheme and Racket as critical parts of every o

Re: [racket-users] a question or two regarding Gregor

2020-04-27 Thread Ben Greenman
On 4/27/20, Tim Hanson wrote: > > I thought I'd check here: > - does this seem like a reasonable idea? > - is mine an unusual use case and most folks know what format to expect and > the exception approach is fine? I've written code like this before and used it in a contract. ``` (define (iso860

Re: [racket-users] Question on test failures sorting a BTS

2020-04-27 Thread Jens Axel Søgaard
Den man. 27. apr. 2020 kl. 04.36 skrev Kristina Marie : > Hello, > I am trying to use HtDF to create a function to sort a Binary Search Tree. > I am in an intro class so this may be a simple question. I did the > following: > > ;define-struct a node > (define-struct node (left value right)) > ...