You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Code example shows (but does not compile due to error):
letxs=[1,2,0,3,4]// we can use the Min semigroup to find the minimal element in xssconcat(Min(),2, xs)// 0// we can use the Sum monoid to find the sum of xsmconcat(Sum<Int8,NInt8>(i:{return nint8 }), xs)// 10
but in order to compile with Xcode 6 beta 3 xs must be array of Int8.
Compiles:
letxs:[Int8]=[1,2,0,3,4]// we can use the Min semigroup to find the minimal element in xssconcat(Min(),2, xs)// 0// we can use the Sum monoid to find the sum of xsmconcat(Sum<Int8,NInt8>(i:{return nint8 }), xs)// 10
The text was updated successfully, but these errors were encountered:
Code example shows (but does not compile due to error):
but in order to compile with Xcode 6 beta 3 xs must be array of Int8.
Compiles:
The text was updated successfully, but these errors were encountered: