Another change.
[Thread Prev] | [Thread Next]
- Subject: Another change.
- From: Ori Bernstein <ori@xxxxxxxxxxxxxx>
- Date: Thu, 27 Jul 2017 19:01:21 -0700
- To: myrddin-dev@xxxxxxxxxxxxxx
Yesterday, another language change landed. Now, if a namespaced name is unambiguous (ie, only appears in one namespace), it can be referred to directly. For example: use std const main = {args : byte[:][:] match open(args[1]) /* std.open */ | `Ok fd: put("opened fd\n") | `Err e: put("error opening fd: {}\n", e) ;; } I'm not sure how much I like this change, since it's now less clear where a function comes from, and makes looking up documentation harder. But it also reduces visual noise in code, and makes longer library names more tolerable. -- Ori Bernstein <ori@xxxxxxxxxxxxxx>
Re: Another change. | Michael Forney <mforney@xxxxxxxxxxx> |
- Prev by Date: Re: [PATCH] Automatic variables
- Next by Date: Re: Another change.
- Previous by thread: Re: [PATCH] Automatic variables
- Next by thread: Re: Another change.
- Index(es):