-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
I'm learning Haskell, coming from the APL family. I'm familiar with point-free style and function composition and wanted to learn Haskell for a more pure functional experience. To get some practice i figured I'd write up the dot product and vector product functions. I haven't begun looking at the vector product, but for dot product I quickly came to `dot a b = sum $ zipWith (*) a b`. After toying around with composition (the B-combinator .), I couldn't get it to work. I looked up the tacit solution in pointfree.io, and it gave me the short and sweet `dot = (sum .) . zipWith (*)`. Now here's my question: how is (sum .) supposed to work? I don't get where the arguments implicitly go or how this makes syntactically sense. What is the order of operations?
Related posts
-
MacRelix – Unix-like features for classic Mac OS
-
Which cognitive psychology findings are solid that I can use to help students?
-
Spotify Rick Roll
-
Make a smart button! 😀 using plain HTML5 + Tailwind CSS button with proper hover effects and transitions
-
Testing in Angular: Replace Karma to Web Test Runner