The Wayback Machine - https://web.archive.org/web/20220216160930/https://github.com/topics/programming-language
Skip to content
#

programming-language

Here are 5,111 public repositories matching this topic...

julia
aquohn
aquohn commented Jan 25, 2022

When zipping with a product iterator with no arguments (which produces only one output, the empty tuple), it seems the check for zip completion does not handle this case:

julia> for (z,) in zip(Iterators.product())
       @show z
       end
z = ()
ERROR: ArgumentError: tuple must be non-empty
Stacktrace:
 [1] first(#unused#::Tuple{})
   @ Base ./tuple.jl:140
 [2] _pisdone
   @ ./ite
ponyc
SeanTAllen
SeanTAllen commented Feb 15, 2022
type Blocksize is (None | (U8, U32))
class Block[T: Blocksize]

will crash the compiler.

#4005 fixed part of the issue, but what is needed now is to take the fix code from there, move it to its own function so that we can also iterate over a typeunion as a constraint looking for any tuples in it.

      ast_t* child = ast_child(constraint);
      token_id cap = cap_fr

Red is a next-generation programming language strongly inspired by Rebol, but with a broader field of usage thanks to its native-code compiler, from system programming to high-level scripting and cross-platform reactive GUI, while providing modern support for concurrency, all in a zero-install, zero-config, single 1MB file!
  • Updated Feb 16, 2022
  • Red

Improve this page

Add a description, image, and links to the programming-language topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the programming-language topic, visit your repo's landing page and select "manage topics."

Learn more