mozart - How to bind an unbound value in a List in Oz -



mozart - How to bind an unbound value in a List in Oz -

let's have next code:

local l in l = {list.make 10 $} % bind nth element here end

how 1 set of these unbound values? oz list documentation didn't shed lite on this. related question found was: how alter element in list in oz? reply didn't compile me, nor did find how compile.

i able utilize oz list documentation work!

declare temp index value l in l = {list.make 10 $} index = %index bound value = %value bound temp = {list.mapind l fun {$ b} if == index b = value else b end end $}

oz mozart

Comments

Popular posts from this blog

java - How to set log4j.defaultInitOverride property to false in jboss server 6 -

c - GStreamer 1.0 1.4.5 RTSP Example Server sends 503 Service unavailable -

Using ajax with sonata admin list view pagination -