Inner (dot) product in tacit point-free form

This page summarizes the projects mentioned and recommended in the original post on /r/haskell

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.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • pointfree.io

    A web site for converting haskell code into pointfree haskell code

  • 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?

  • 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.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • MacRelix – Unix-like features for classic Mac OS

    4 projects | news.ycombinator.com | 12 May 2024
  • Which cognitive psychology findings are solid that I can use to help students?

    1 project | news.ycombinator.com | 13 May 2024
  • Spotify Rick Roll

    1 project | dev.to | 13 May 2024
  • Make a smart button! 😀 using plain HTML5 + Tailwind CSS button with proper hover effects and transitions

    1 project | dev.to | 13 May 2024
  • Testing in Angular: Replace Karma to Web Test Runner

    1 project | dev.to | 13 May 2024