[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Syntactic conventions
- From: Gavin Wraith <gavin@...>
- Date: Fri, 25 Apr 2014 22:48:22 +0100
In message <CAFE_sBF+WS5oN6WBUMPR1+RqyVy8tcm3n2hDwPnJSadAMHCkbA@mail.g
mail.com>
Coda Highland <chighland@gmail.com> wrote:
> Programming languages have noun class systems too! Syntax and
> inflection vary based on whether you're accessing a scalar, an array,
> or an object. Some languages inflect more visibly than others (I'm
> looking at you, Perl) but it's a universal truth of context-sensitive
> grammars.
That rather depends on the language and its type system. Now in
Haskell you have values, types and kinds each with their own
lexical conventions. A value has a type, and a type has a kind.
--
Gavin Wraith