about summary refs log tree commit diff stats
path: root/html/apps/ex13.mu.html
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-07-29 07:55:54 -0700
committerKartik K. Agaram <vc@akkartik.com>2021-07-29 07:55:54 -0700
commit63c7d5c4e0437aad068d31f4b480c377d5998948 (patch)
treec4932a914666ff2c9c3bafc36b5d74c19640b11a /html/apps/ex13.mu.html
parentc9382ee2c95e23a9d077d62425f7e9cf6549b6b6 (diff)
downloadmu-63c7d5c4e0437aad068d31f4b480c377d5998948.tar.gz
downsampling photos makes the dithering seem worse
We support 128px, so let's use the whole 128px.
Diffstat (limited to 'html/apps/ex13.mu.html')
0 files changed, 0 insertions, 0 deletions
5
6
7
8
9
10
11
12
13



                    
                            


       
                 
             
             

                                                                              
# compare mutable.mu

def main [
  local-scope
  x:&:num <- new number:type
  foo x
]

def foo x:&:num [
  local-scope
  load-inputs
  *x <- copy 34  # will cause an error because x is immutable in this function
]