[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Syntactic conventions
- From: Coda Highland <chighland@...>
- Date: Fri, 25 Apr 2014 15:10:49 -0700
On Fri, Apr 25, 2014 at 2:48 PM, Gavin Wraith <gavin@wra1th.plus.com> wrote:
> 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.
Fair enough, but that just means Haskell's noun class system is different.
/s/ Adam