When naming functions, it annoying
to write the signature of the function
when there is clearly only one function
of a given name. in this special case
you can use the keyword 'the' to specify
you mean that function.
Start felix section to tut/tutorial/tut-1.30-0.flx[1
/1
]
1: #line 3330 "./lpsrc/flx_tutorial.pak"
2: //Check the:keyword 3: #import <flx.flxh> 4: 5: fun f(x:int):int=>x*x; 6: fun apply[s,d](f:s->d)(x:s): d => f x; 7: 8: print (apply (the f)4); endl;
End felix section to tut/tutorial/tut-1.30-0.flx[1]
Start data section to tut/tutorial/tut-1.30-0.expect[1
/1
]
1: 16
End data section to tut/tutorial/tut-1.30-0.expect[1]