Warning: this is an htmlized version!
The original is here, and the conversion rules are here. |
####### # # E-scripts on Scala. # # Note 1: use the eev command (defined in eev.el) and the # ee alias (in my .zshrc) to execute parts of this file. # Executing this file as a whole makes no sense. # An introduction to eev can be found here: # # (find-eev-quick-intro) # http://angg.twu.net/eev-intros/find-eev-quick-intro.html # # Note 2: be VERY careful and make sure you understand what # you're doing. # # Note 3: If you use a shell other than zsh things like |& # and the for loops may not work. # # Note 4: I always run as root. # # Note 5: some parts are too old and don't work anymore. Some # never worked. # # Note 6: the definitions for the find-xxxfile commands are on my # .emacs. # # Note 7: if you see a strange command check my .zshrc -- it may # be defined there as a function or an alias. # # Note 8: the sections without dates are always older than the # sections with dates. # # This file is at <http://angg.twu.net/e/scala.e> # or at <http://angg.twu.net/e/scala.e.html>. # See also <http://angg.twu.net/emacs.html>, # <http://angg.twu.net/.zshrc[.html]>, # <http://angg.twu.net/escripts.html>, # and <http://angg.twu.net/>. # ####### http://en.wikipedia.org/wiki/Scala_%28programming_language%29 http://aperiodic.net/phil/scala/s-99/ # (find-status "scala") # (find-vldifile "scala.list") # (find-udfile "scala/") # (find-status "scala-doc") # (find-vldifile "scala-doc.list") # (find-udfile "scala-doc/") # (find-status "scala-library") # (find-vldifile "scala-library.list") # (find-udfile "scala-library/") # (find-fline "/usr/share/java/") # (find-man "1 scalac") # (find-man "1 fsc") # (find-man "1 scala") # (find-man "1 scaladoc") (defun eepitch-scala () (interactive) (eepitch '(find-comintprocess "scala" "scala"))) (defun eepitch-clojure () (interactive) (eepitch '(find-comintprocess "clojure" "clojure -r"))) * (eepitch-clojure) * (eepitch-kill) * (eepitch-clojure) * (eepitch-shell) * (eepitch-kill) * (eepitch-shell) scala * (eepitch-scala) * (eepitch-kill) * (eepitch-scala) def hello = println("Hey") hello def goodbye(f: Unit) = { f; println("Goodbye"); } goodbye(hello) https://plus.google.com/u/0/109924404877416820675/posts/FP7kBboq2sJ http://www.scala-lang.org/api/current/index.html#scala.Function2 http://bazaar.launchpad.net/~philho/+junk/Scala/view/head:/Base.scala https://docs.scala-lang.org/cheatsheets/index.html # Local Variables: # coding: utf-8-unix # modes: (fundamental-mode lua-mode c-mode) # End: