[HN Gopher] Mun: A programming language empowering creation thro...
       ___________________________________________________________________
        
       Mun: A programming language empowering creation through iteration
        
       Author : coldtea
       Score  : 40 points
       Date   : 2021-02-18 17:35 UTC (5 hours ago)
        
 (HTM) web link (mun-lang.org)
 (TXT) w3m dump (mun-lang.org)
        
       | CyberDildonics wrote:
       | There are a lot of cool things here, but I think conflating a
       | data structure with how it is allocated in memory is a huge
       | mistake.
        
         | Wodann wrote:
         | Could you elaborate on why that is a mistake? Just curious
        
       | cheriot wrote:
       | I'd love to see a modern type system available as a Lua
       | replacement. A couple things I didn't see skimming the docs:
       | 
       | 1. Does it continue the billion dollar mistake (null)?
       | 
       | 2. Does it allow type parameters so I can write a generic Map
       | that works with any kind of keys and values?
        
         | nerdponx wrote:
         | If you're interested in "Lua with types", check out Teal aka
         | "Typed Lua" aka "Tl": https://github.com/teal-language/tl. It
         | compiles to Lua and is available as a single-file Lua module.
        
           | samatman wrote:
           | Alas, every type in Teal is nil-able, so it really is a
           | TypeScript for Lua.
           | 
           | Which is no small thing, but still, unfortunate.
        
         | nicoburns wrote:
         | From my reading there is no null, and no generic types either.
        
       | dang wrote:
       | Related from the archive:
       | 
       |  _Mun Programming Language_ -
       | https://news.ycombinator.com/item?id=21172980 - Oct 2019 (81
       | comments)
        
       ___________________________________________________________________
       (page generated 2021-02-18 23:01 UTC)