Date: 2012-02-20 07:54 pm (UTC)
Хм?
Prelude> let iif b x y = b x y
Prelude> let problem b = (iif b 'x' 'y', iif b "Ann" "Bob")

< interactive >:1:39:
    Couldn't match expected type `Char' with actual type `[Char]'
    In the second argument of `iif', namely `"Ann"'
    In the expression: iif b "Ann" "Bob"
    In the expression: (iif b 'x' 'y', iif b "Ann" "Bob")
This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

Profile

deniok: (Default)
deniok

February 2022

S M T W T F S
  12345
6789101112
13141516171819
20212223 242526
2728     

Style Credit

Expand Cut Tags

No cut tags
Page generated Jun. 15th, 2025 02:34 pm
Powered by Dreamwidth Studios