What are the most significant differences between the F# and Clojure ?
Which constructs has F# which Clojure does not have and vice versa?
Does F# have macros?
You perform the F test by looking for the appropriate p-value in the computer analysis and interpreting the resulting significance level, as we did in Chapter 10. If the p-value is more than 0.05, then the result is not significant. If the p-value is less than 0.05, then the result is significant.
The F-value in an ANOVA is calculated as: variation between sample means / variation within the samples. The higher the F-value in an ANOVA, the higher the variation between sample means relative to the variation within the samples. The higher the F-value, the lower the corresponding p-value.
The F ratio is the ratio of two mean square values. If the null hypothesis is true, you expect F to have a value close to 1.0 most of the time. A large F ratio means that the variation among group means is more than you'd expect to see by chance.
Most of the differences will stem from the fact that F# is descended from ML while clojure is descended from lisp.
So F# has a more ML/OCaml/Haskell feel with emphasis on:
While clojure has more of a Lisp feel with emphasis on:
Also as Brian noted, F# is a .Net language while clojure is a JVM language so each will have access to a vast but different set of libraries.
Clojure is a lisp, actualy lisp-1 family language. F# is practicaly OCaml adopted to .net platform.
One key difference is that F# is a .NET language, whereas Clojure runs on a JVM. Thus the deployments and supported platforms will be different.
Note that F# is supported by mono, however.
As for macros, I think you're out of luck.
It looks like there's some effort being put into running Clojure on the CLR. Looks very promising.
http://github.com/richhickey/clojure-clr
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With