2014-04-02 15:35:08 +0000peteski(peteski@cpc2-benw11-2-0-cust742.16-2.cable.virginm.net) ()
2014-04-02 15:37:56 +0000kjnilsson(~textual@cpc1-brig5-0-0-cust112.3-3.cable.virginm.net) ()
2014-04-02 15:42:59 +0000kjnilsson(~textual@cpc1-brig5-0-0-cust112.3-3.cable.virginm.net)
2014-04-02 15:49:00 +0000planetcall|work(~planetcal@unaffiliated/planetcalls)
2014-04-02 15:53:48 +0000 <planetcall|work> I want to ask a real stupid question. I have a function let FunctionNeverCalled = 0 in a console application
2014-04-02 15:54:01 +0000 <planetcall|work> this function is executed but it is never called from the main method
2014-04-02 15:54:39 +0000 <planetcall|work> someone care to enlighten me?
2014-04-02 16:02:21 +0000 <planetcall|work> possibly someone can take a look at this http://pastebin.com/wDH1hkQ6
2014-04-02 16:05:12 +0000 <asturel> FunctionCalled()
2014-04-02 16:07:29 +0000 <kjnilsson> you need to give the function a unit parameter
2014-04-02 16:07:48 +0000 <kjnilsson> let FunctionNeverCalled () :int =
2014-04-02 16:09:07 +0000 <asturel> http://pastebin.com/Q89atiMm
2014-04-02 16:09:55 +0000 <kjnilsson> yes that shoudl do what you except
2014-04-02 16:09:57 +0000 <kjnilsson> expect
2014-04-02 16:11:08 +0000Submarine(~toosexy@pas38-7-83-153-92-113.fbx.proxad.net)
2014-04-02 16:11:08 +0000Submarine(~toosexy@pas38-7-83-153-92-113.fbx.proxad.net) (Changing host)
2014-04-02 16:11:08 +0000Submarine(~toosexy@wikipedia/Monniaux/David)
2014-04-02 16:12:02 +0000milLions(~Lions@2600:100f:b00c:dd0c::103)
2014-04-02 16:18:17 +0000wipi(~wipi@2001:4898:80e0:ee43::3)
2014-04-02 16:30:35 +0000kjnilsson(~textual@cpc1-brig5-0-0-cust112.3-3.cable.virginm.net) ()
2014-04-02 16:45:18 +0000sevensharp9(~dave@unaffiliated/sevensharp9) (Quit: sevensharp9)
2014-04-02 16:52:55 +0000fholm(~fholm@c-d543e555.138-10-64736c10.cust.bredbandsbolaget.se)
2014-04-02 17:07:12 +0000S11001001(~sirian@gw1.mcgraw-hill.com)
2014-04-02 17:07:16 +0000S11001001(~sirian@gw1.mcgraw-hill.com) (Changing host)
2014-04-02 17:07:16 +0000S11001001(~sirian@fsf/member/S11001001)
2014-04-02 17:20:08 +0000 <planetcall|work> thanks guys. that helps. I assume in let something = //some body, here something acts as a variable which is evaluated in sequential fashion
2014-04-02 17:21:15 +0000 <asturel> if u wont call it it just will be a unit
2014-04-02 17:22:00 +0000 <planetcall|work> I was expecting behavior like C# where properties or functions are evaluated only when called
2014-04-02 17:24:20 +0000 <planetcall|work> asturel, it may or may not be a unit. It can return int as in FunctionNeverCalled which returns 0 at end
2014-04-02 17:24:49 +0000 <asturel> but i did only functionname, which is an unit
2014-04-02 17:24:57 +0000 <asturel> i=u
2014-04-02 17:25:10 +0000 <asturel> it 'returns' a function :D (imho)
2014-04-02 17:25:17 +0000 <asturel> not actually calling it
2014-04-02 17:28:03 +0000 <planetcall|work> Looking at the number of members in this channel I wish there was more activity .. even if most of us are beginners
2014-04-02 17:28:20 +0000 <fholm> so my current networking project will be done and released in a month or so, maybe a bit more. I am pondering the possiblity of building a distributed simulation in F#