Re: Dylan stuff

Bruce Mitchener <[email protected]>
Newsgroups gmane.comp.lang.dylan.gwydion.devel
Message-ID <CA+esKjPdGGqbxpcKwcTfWufsJO=RpeEmLvo8XebVcPoDWrxkRw@mail.gmail.com>
The main thing missing there is having names for the return values (which
have no meaning and are largely for documentation value).

But it looks like something I can live with for getting things going ...

 - Bruce



On Thu, Jan 17, 2013 at 3:16 PM, mikel evins <[email protected]> wrote:

>
> How about something like this?
>
> (define sealed method foo ((x <fixnum>)(y <fixnum>)) => (<fixnum>
> <boolean> #rest)
>   (begin
>     (do-stuff-to-x)
>     ...))
>
> Some of this is traditional old prefix Dylan; some is new. it clear what
> all the novel bits mean? How is it, aestehtically?
>
> For comparison, here's how you would say the same thing in Bard (except
> the "sealed" bit, which Bard doesn't have):
>
> (def foo (function Integer Integer -> Integer Boolean &))
>
> (define method (foo x y)
>   with: ((x <fixnum>)(y <fixnum>))
>   (begin
>     (do-stuff-to-x)
>     ...))
>
>
>
> _______________________________________________
> hackers mailing list
> [email protected]
> https://lists.opendylan.org/mailman/listinfo/hackers
>
>

_______________________________________________
hackers mailing list
[email protected]
https://lists.opendylan.org/mailman/listinfo/hackers
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.