12.07.2015 Views

Programação Funcional e Concorrente com Scheme

Programação Funcional e Concorrente com Scheme

Programação Funcional e Concorrente com Scheme

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

notas de aula - Jerônimo C. Pellegrini12.2.1.3 Criação de tarefas . . . . . . . . . . . . . . . . . . . . . . . . 20712.2.1.4 Declarações de interface <strong>com</strong> o mundo externo . . . . . . . 20712.2.1.5 O ator determina seu substituto . . . . . . . . . . . . . . . . 20712.2.2 Exemplos . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20812.2.2.1 Fatorial recursivo <strong>com</strong> mensagens . . . . . . . . . . . . . . 20812.2.2.2 Pilha <strong>com</strong> troca de mensagens . . . . . . . . . . . . . . . . . 20912.2.2.3 Quicksort . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21112.2.2.4 Programação genética . . . . . . . . . . . . . . . . . . . . . . 21212.2.2.5 Fluxo em redes . . . . . . . . . . . . . . . . . . . . . . . . . . 21312.2.3 Implementações do modelo Actor . . . . . . . . . . . . . . . . . . . . 21312.3 Termite <strong>Scheme</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21312.3.1 Facilidades de alto nível . . . . . . . . . . . . . . . . . . . . . . . . . . 21512.3.1.1 Processamento seletivo de mensagens . . . . . . . . . . . . 21512.3.1.2 Casamento de Padrões . . . . . . . . . . . . . . . . . . . . . 21712.3.1.3 Procedimentos remotos síncronos . . . . . . . . . . . . . . . 21812.3.2 Fechos . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21812.3.3 Exceções e processos ligados . . . . . . . . . . . . . . . . . . . . . . . 21812.3.4 Continuações . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21812.3.4.1 Migração de processos . . . . . . . . . . . . . . . . . . . . . 21812.3.4.2 Clonagem de processos . . . . . . . . . . . . . . . . . . . . . 21912.3.5 Exemplos . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21912.3.5.1 Quicksort em Termite <strong>Scheme</strong> . . . . . . . . . . . . . . . . . 219a Formatos Gráficos 225a.1 Netpbm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 225a.1.1 P1: preto e branco, legível . . . . . . . . . . . . . . . . . . . . . . . . . 226a.1.2 P2: tons de cinza, legível . . . . . . . . . . . . . . . . . . . . . . . . . . 227a.1.3 P3: em cores, legível . . . . . . . . . . . . . . . . . . . . . . . . . . . . 228a.1.4 Netpbm binário . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 229a.2 EPS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 229Versão Preliminar[ 13 de setembro de 2010 at 21:23 ]v

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!