https://github.com/robpike/ivy/blob/master/scan/scan.go#L67 has it also

On Tue, May 4, 2021, 12:11 AM Artur Vianna <lordhowen...@gmail.com> wrote:

> I believe the code is derived from a talk by Rob Pike on Lexers:
>
> https://talks.golang.org/2011/lex.slide#1
>
> On Mon, 3 May 2021, 14:58 Jesper Louis Andersen, <
> jesper.louis.ander...@gmail.com> wrote:
>
>> On Mon, May 3, 2021 at 6:43 PM Delta Echo <deltaecho...@gmail.com> wrote:
>>
>>>
>>> Hi, Is there any document that explains how recursive type definitions
>>> like
>>>
>>> type stateFn func(*Scanner) stateFn
>>>
>>> are handled in Go?
>>>
>>>
>> Is this a type-level question (roughly boiling down to if the type is
>> equi- or iso-recursive) or is it an implementation detail question?
>>
>>
>> --
>> J.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "golang-nuts" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to golang-nuts+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/golang-nuts/CAGrdgiUhSohF5yrpdab--vskKQnLWukkZEcc2kZ_AzVAA4ppkQ%40mail.gmail.com
>> <https://groups.google.com/d/msgid/golang-nuts/CAGrdgiUhSohF5yrpdab--vskKQnLWukkZEcc2kZ_AzVAA4ppkQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CAK-mku6_Sr8NXtfnxdbPFvKzNU3yz1-aZ%2BBOakQgvERiB5js7g%40mail.gmail.com.

Reply via email to