Re: [racket-users] New to Racket

2021-02-22 Thread Rohan Posthumus
Thanks Jens! I appreciate. The package looks very promising. Kind regards Rohan On Thursday, February 18, 2021 at 12:49:28 PM UTC+2 Jens Axel Søgaard wrote: > Den tor. 18. feb. 2021 kl. 08.09 skrev Rohan Posthumus < > rohanpo...@gmail.com>: > >> I am a data analyst and uses a lot of data

Re: [racket-users] New to Racket

2021-02-18 Thread Jens Axel Søgaard
Den tor. 18. feb. 2021 kl. 08.09 skrev Rohan Posthumus < rohanposthu...@gmail.com>: > I am a data analyst and uses a lot of data science packages in Python. > In order to learn Racket, I want to translate some of these into Racket. I > need some help with where to start. > >- I finished

Re: [racket-users] New to Racket

2021-02-17 Thread Rohan Posthumus
I am a data analyst and uses a lot of data science packages in Python. In order to learn Racket, I want to translate some of these into Racket. I need some help with where to start. - I finished "Beautiful Racket" and wonder whether I should make a data science DSL? - I read up a bit

Re: [racket-users] New to Racket

2021-02-17 Thread 'John Clements' via Racket Users
Definitely! What’s up? John Clements > On Feb 17, 2021, at 10:36 PM, Rohan Posthumus > wrote: > > Good morning, > > I am new to Racket and want to know where I can ask questions if I do not > understand something. Is this the correct platform? > > Kind regards > Rohan > > -- > You

[racket-users] New to Racket

2021-02-17 Thread Rohan Posthumus
Good morning, I am new to Racket and want to know where I can ask questions if I do not understand something. Is this the correct platform? Kind regards Rohan -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and

Re: [racket-users] New to racket, help with coursework question

2020-04-20 Thread David Storrs
Great job! For the record: Yes, it is entirely possible to have an 'if' clause choose the arguments to a function. This is legal: (define first-element (vector-ref some-vector (if (equal? type 'zero-indexed) 0 1))) As is this, which is more relevant to your exercise: (define leap-year-months

Re: [racket-users] New to racket, help with coursework question

2020-04-19 Thread Kristina Marie
I wanted to thank you all. I did it! My head hurts, but now seeing how simple it was, it hurts that it hurts. ;leap year (define (leap-year? year) (and (zero? (modulo year 4)) (or (not (zero? (modulo year 100))) (zero? (modulo year 400)) ) ) ) ;Months with

Re: [racket-users] New to racket, help with coursework question

2020-04-19 Thread Matt Jadud
This is good. Your questions are good, and while the frustration/confusion is real, don't let it get you down. It's just part of the process. (That is, learning often involves confusion and frustration.) This might step it back too far, but see if this helps a bit. Your question about what you

Re: [racket-users] New to racket, help with coursework question

2020-04-19 Thread Suz Renae
The months vector is representing each month and how many days are in that month. (define months (vector 0 31 28 31 30 31 30 31 31 30 31 30 31)) 31 would be 1 or January (since all indexes start at 0, there is no 0th month), 28 would be 2 or February, and so forth and so on. So if we did

Re: [racket-users] New to racket, help with coursework question

2020-04-19 Thread Suz Renae
Thank you for replying. The course is at Mesa College in San Diego. Intro to Computer Science. Not as easy as I thought it would be. On Sunday, April 19, 2020 at 12:58:20 PM UTC-7, Jon Zeppieri wrote: > > Well, this all looks very familiar. Can I ask where this course is > offered? > > > Okay,

Re: [racket-users] New to racket, help with coursework question

2020-04-19 Thread 'John Clements' via Racket Users
First off: you’re very close. Thing two: I think you need a clearer comment on the meaning of the “months” vector. Your description does not actually say what the vector represents or contains. Thing three: Here’s my question to you. Suppose that I tell you a year and a month and the result

Re: [racket-users] New to racket, help with coursework question

2020-04-19 Thread Jon Zeppieri
Well, this all looks very familiar. Can I ask where this course is offered? Okay, let's start with part of the problem definition: > Create a function that calculates the number of days in a month given a year > and a month > > Call the function number-of-days-in-month, and it's signature is

[racket-users] New to racket, help with coursework question

2020-04-19 Thread Suz Renae
I am new to racket (first year student) and since class has been pushed to online only, I am having a harder time. We are currently working on vectors and hash tables. I feel like I keep overthinking it and keep getting stuck. I know that the first parameter in the function will be the year