This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Based on example from here: http://stackoverflow.com/questions/3626203/text-editor-for-scala | |
set nocompatible "Not vi compativle (Vim is king) | |
"""""""""""""""""""""""""""""""""" | |
" Syntax and indent | |
"""""""""""""""""""""""""""""""""" | |
syntax on " Turn on syntax highligthing | |
set showmatch "Show matching bracets when text indicator is over them | |
colorscheme delek |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import scala.actors._ | |
import scala.actors.Actor._ | |
val helloActor = actor { | |
receive { | |
case nextActor : Actor => { | |
println("Hello Actor linked to " + nextActor) | |
while(true) { | |
receive { | |
case message : String => { |
NewerOlder