Skip to content

Commit

Permalink
Update simple-algebraic-data-types.tex (#244)
Browse files Browse the repository at this point in the history
turning record in to a new term
  • Loading branch information
ac27182 authored Feb 25, 2020
1 parent 76338fa commit 5e605c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/content/1.6/simple-algebraic-data-types.tex
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ \section{Product Types}
Programming with tuples and multi-argument constructors can get messy
and error prone --- keeping track of which component represents what.
It's often preferable to give names to components. A product type with
named fields is called a record in Haskell, and a \code{struct} in C.
named fields is called a \newterm{record} in Haskell, and a \code{struct} in C.

\section{Records}

Expand Down

0 comments on commit 5e605c7

Please sign in to comment.