I DUE PUNTI ✍🏻
Ricordatidi usarli bene
#scrittura#writingtips
✍🏻 Spesso ci dimentichiamo quale importante risorsa, nella scrittura, rappresentino i due punti.
✍🏻Servono per illustrare e chiarire, introducono un periodo che dipende da un altro. Secondo il grande linguista Serianni hanno quattro funzioni principali.
✅ Sintattico-argomentativa: se introducono una conseguenza logica di quanto detto.
✅ Sintattico-descrittiva: introducono maggiori dettagli su quanto detto.
✅ Appositiva: la frase che introducono ha valore di apposizione rispetto alla precedente (Sono stato a Roma: una scuola di storia).
✅ Segmentatrice: introducono il discorso diretto.
➡️ La loro caratteristica è sempre quella di andare oltre, di inserire qualche elemento in più nell'ambito di ciò che si sta trattando.
@writingway
🙌Se ti è piaciuto questo post e pensi possa interessare ad altri, inoltralo cliccando sulla freccia a destra.
http://www.paulbrownmagic.com/blog/python_partial_application
Python Partial: Code Your Intention
Of all the functional programming inspired features in Python, partial application must be the best kept secret that you really need to know. Partial application lets you create highly abstract functions and make them more specific for use, pass a function arguments without calling it yet, and so much more.
#tuple#sort
http://wla.berkeley.edu/~cs61a/fa11/lectures/streams.html
In this chapter, we continue our discussion of real-world applications by developing new tools to process #sequential#data. In Chapter 2, we introduced a sequence interface, implemented in Python by built-in data types such as #tuple and #list. #Sequences supported two operations: querying their length and accessing an element by index. In Chapter 3, we developed a user-defined implementations of the sequence interface, the Rlist class for representing recursive lists. These sequence types proved effective for representing and accessing a wide variety of sequential #datasets.