Does your contract (line 3) agree with your type (line 6)?
Vincent
On Mon, 21 Mar 2016 15:28:56 -0500,
xyne...@gmail.com wrote:
>
> I have trouble with getting/using first element of a list
>
> I pasted the code here:
> http://paste.ofcode.org/35MssbZ7DPWr3buYSyAKTG7
>
> Line 15: (first ls)
I have trouble with getting/using first element of a list
I pasted the code here:
http://paste.ofcode.org/35MssbZ7DPWr3buYSyAKTG7
Line 15: (first ls) is where I'm having trouble with, will appreciate any help.
Thanks.
--
You received this message because you are subscribed to the Google Groups
I remember Guillaume Marceau using such a plugin for some of his work[1].
I don't know whether it's available anywhere, though.
Vincent
[1] http://gmarceau.qc.ca/papers/Marceau-2010-Measuring-Effectiveness.pdf
On Mon, 21 Mar 2016 08:02:31 -0500,
Klaus Ostermann wrote:
>
> I'd like to evaluat
There is a "log" facility that records the content of the definitions
and interactions window periodically. You could ask students to use it
and then submit it.
Robby
On Mon, Mar 21, 2016 at 12:41 PM, Jace Kyung-Min Kim
wrote:
> On Monday, March 21, 2016 at 9:02:31 AM UTC-4, Klaus Ostermann wro
On Monday, March 21, 2016 at 9:02:31 AM UTC-4, Klaus Ostermann wrote:
> I'd like to evaluate how my students program when they do their homework
> exercises (in a way that is compatible with privacy concerns).
>
> Is the plugin structure of DrRacket suited to extending DrRacket with such a
> fun
Brian Adkins wrote on 03/21/2016 11:37 AM:
As I mentioned in my original post, I wasn't suggesting we emulate the Elixir
behavior - I was really just curious about macro limitations :)
I have hijacked the thread. Pray I do not hijack it further. :)
`define/provide` seems a bit long to me.
On Monday, March 21, 2016 at 11:19:18 AM UTC-4, Neil Van Dyke wrote:
> I propose that it's time for `#lang racket/base` to have a `define/provide`.
>
> (Out of all the possible combinations of definition forms and other
> things we might often want to do with the defined identifier(s) at the
> s
This is great Neil. I am running a London study group on SICP and we can help
test this after the easter holiday.
Many thanks to everyone who has worked on this.
Matthew Eric Bassett | https://mebassett.info
> On Mar 21, 2016, at 14:55, Brian Adkins wrote:
>
>> On Friday, March 18, 2016 at 8:
I propose that it's time for `#lang racket/base` to have a `define/provide`.
(Out of all the possible combinations of definition forms and other
things we might often want to do with the defined identifier(s) at the
same time, the pair of `define` and `provide` together is overwhelmingly
the m
Sure, or just switch the semantics so p means public. I'm no concerned with the
difficulty of public vs. private so much as adding or updating the provide from
from a define.
On Monday, March 21, 2016 at 10:56:49 AM UTC-4, Sean Kanaley wrote:
> What if you define define as define/provide and def
Here's what I would do:
- Add `(provide (all-defined-out))` at the top of the file (or in a
#lang elixir)
- Have `(define ...)` just be the regular racket define.
- Have `(definep f e)` work like this:
(define f* e)
(define-syntax f (make-rename-transformer (syntax-property #'f*
'not-provide-
What if you define define as define/provide and define definep as define?
That doesn't answer the question about black magic though.
On Mon, Mar 21, 2016 at 10:51 AM, Brian Adkins
wrote:
> I've been porting my friend's Elixir code to Racket with great success.
> When I asked what the equivalent
On Friday, March 18, 2016 at 8:03:29 AM UTC-4, Neil Van Dyke wrote:
> Could anyone currently working through or teaching SICP please try out
> the new `#lang sicp` support, in Jens Axel Sogaard's `sicp` package in
> the new package system?
>
> http://docs.racket-lang.org/sicp-manual/
>
> If you
I've been porting my friend's Elixir code to Racket with great success. When I
asked what the equivalent of (provide my-func) was in Elixir, they mentioned
that you can define a private function with defp instead of def. For example:
defmodule MyModule do
def foo(a) do
...
end
defp ba
I'd like to evaluate how my students program when they do their homework
exercises (in a way that is compatible with privacy concerns).
Is the plugin structure of DrRacket suited to extending DrRacket with such a
functionality (e.g. tracking the history of the editor)?
Do any similar tools alre
15 matches
Mail list logo