tag:blogger.com,1999:blog-5569894.post6505755602259036440..comments2023-11-08T13:18:07.006+00:00Comments on Distributed Memory: Thrice is a charm — A-star in F#Steve Gilhamhttp://www.blogger.com/profile/03622573187942388226noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-5569894.post-86155944425194669852009-02-15T20:54:00.000+00:002009-02-15T20:54:00.000+00:00The two functionally complete, though still somewh...The two functionally complete, though still somewhat polishable, versions, <A HREF="http://stevegilham.blogspot.com/2008/10/star-in-f-revisited.html" REL="nofollow">F#</A> and <A HREF="http://stevegilham.blogspot.com/2008/10/first-refactoring-of-star-in-erlang.html" REL="nofollow">Erlang</A> are mainly token-for-token copies. The real differences are consequences of the differing type systems. I have to make some explicit type specifications for the F# version -- type Graph <'a,'b&gt, use of Option('a) whereas on the Erlang side I don't need the former and can use pattern matching for the latter. I can also use pattern matching at the function argument level rather than using match clauses inside.<BR/><BR/>There are more differences in the half-way stages -- the F# type system needs a lot more scaffolding with explicit type declarations in the construction stages, which can be taken down when the whole system is complete (rather like building an arch).Steve Gilhamhttps://www.blogger.com/profile/03622573187942388226noreply@blogger.comtag:blogger.com,1999:blog-5569894.post-80530149544364747472009-02-15T15:48:00.000+00:002009-02-15T15:48:00.000+00:00Cool, can u compare it in more detail? Erlang vs. ...Cool, can u compare it in more detail? Erlang vs. F#?lf.hlhttps://www.blogger.com/profile/04641501557111092019noreply@blogger.comtag:blogger.com,1999:blog-5569894.post-77025577046870906442008-12-02T09:24:00.000+00:002008-12-02T09:24:00.000+00:00Fixed. Forgot to rename the toggle function.Fixed. Forgot to rename the toggle function.Steve Gilhamhttps://www.blogger.com/profile/03622573187942388226noreply@blogger.comtag:blogger.com,1999:blog-5569894.post-34510385390835191242008-12-02T01:31:00.000+00:002008-12-02T01:31:00.000+00:00Toggle button isn't workingToggle button isn't workingAnonymousnoreply@blogger.com