On Thursday, October 13, 2016 at 1:00:21 PM UTC-7, Stefan Karpinski wrote:
>
> No, Function doesn't have signatures, arity or return type as part of its
> type. The signature of a function is the union of its method signatures,
> which is potentially very complicated. Type parameters are not
> c
Great summary, thanks so much!
Being a fan of typeful functional programming, I really like the return
type annotations and FP performance improvements. Is there a way to
describe a precise return type for a higher order function? The examples of
Function I've seen have neither the arguments ty
Hi,
I saw in the release notes that Julia added support for different array
indexing methods. I decided to try my hand at implementing zero indexed
vectors, and started with the instructions
here http://docs.julialang.org/en/latest/devdocs/offset-arrays/ I found
this part of the documenta
actually corner cases
> making it impossible to type as Set{DataType}().
> Fact is, with that change subtype is 10x faster and doesn't return
> Vector{Any} anymore.
> I opened a PR:
> https://github.com/JuliaLang/julia/pull/18663
>
> Best,
> Simon
>
>
> Am S
... of @code_warntype output.
I was reading
https://en.wikibooks.org/wiki/Introducing_Julia/Types#Investigating_types
and I came across the following code, described as "not very elegant":
level = 0
function showtypetree(subtype)
global level
subtypelist = filter(asubtype -> asubtype !=
What's an example of a good Julep? I did some searching and couldn't find
much. Is there a document somewhere about
writing and submitting Julia Enhancement Proposals?
On Tuesday, August 23, 2016 at 11:09:25 AM UTC-7, Stefan Karpinski wrote:
>
> On Tue, Aug 23, 2016 at 12:39
It's a bit surprising that Julia doesn't have built in enums and a
case/switch form. I'm glad that there's open
issue https://github.com/JuliaLang/julia/issues/5410 to address the lack of
case/switch. Is there any hope that
we may see these (or at least the built in case/switch) in 1.0?
On Tuesd
julia> global x = 2, y = 3, z = 5
5
julia> const u = 7, v = 11, w = 13
ERROR: syntax: invalid assignment location "11"
Is there a rationale for this difference in behavior? Version 0.6.0-dev.364
-- Brian
In what way doesn't it make sense to evaluate it in a local scope? It's
true that Julia modules don't behave that way now, but other languages
support local
modules; D and OCaml come to mind.
On Wednesday, December 9, 2015 at 7:22:51 AM UTC-8, Steven G. Johnson wrote:
>
> A using statement affec
IMO the main reason for (33) is that Julia presently lacks any local import
feature. At least a few languages with module systems add these; see for
instance
OCaml http://caml.inria.fr/pub/docs/manual-ocaml-4.01/extn.html#sec225 and
also Ada, which allows with/use inside of blocks.
Is there a
10 matches
Mail list logo