Fasta parser

Tobias Pankrath tobias at pankrath.net
Mon Nov 12 02:14:28 PST 2012


On Monday, 12 November 2012 at 09:16:54 UTC, Dmitry Olshansky 
wrote:
> 11/11/2012 9:34 PM, bioinfornatics пишет:
>> Hi,
>> I wrote a fasta parser for biology computing
>> http://pastebin.geany.org/yheQN/
>>
>> I would like to get your experience to know if the writer 
>> could be
>> better. The given parser use MmFile and Phobos range.
>>
>> fasta specification format => 
>> http://en.wikipedia.org/wiki/FASTA_format
>>
>
> I'd like to spread the word of the proper toString signature 
> that doesn't need appender.
>
> void toString(scope delegate(const(char)[]) sink) const{
>  //same code, but replace fasta.put(x) with sink(x)
> }

Is there any documentation for this signature?


More information about the Digitalmars-d-learn mailing list