deniok: (Default)
[personal profile] deniok
Устно вычислите значения побочные эффекты выражений и проверьте результат в GHCi:
let x = print "first" in print "second"

let x = print "first" in x >> print "second"

(\x -> print "first") (print "second")

print "first" `seq` print "second"
(Значения тоже можете вычислить в качестве бонуса:)

Date: 2012-04-15 12:22 pm (UTC)
From: [identity profile] deni-ok.livejournal.com
Ради этого всё затевалось :)

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 Jul. 26th, 2025 12:02 am
Powered by Dreamwidth Studios