packages feed

rasa-example-config 0.1.0.0 → 0.1.1

raw patch · 2 files changed

+48/−37 lines, 2 filesdep +rasa-ext-bufsdep ~basedep ~lensdep ~mtl

Dependencies added: rasa-ext-bufs

Dependency ranges changed: base, lens, mtl, rasa, rasa-ext-cursors, rasa-ext-files, rasa-ext-logger, rasa-ext-slate, rasa-ext-status-bar, rasa-ext-style, rasa-ext-vim

Files

app/Main.hs view
@@ -1,20 +1,28 @@+{-# language OverloadedStrings #-} module Main where  import Rasa (rasa)+import Rasa.Ext import Rasa.Ext.Style+import Rasa.Ext.Bufs import Rasa.Ext.Vim import Rasa.Ext.Files import Rasa.Ext.StatusBar import Rasa.Ext.Logger import Rasa.Ext.Cursors-import Rasa.Renderer.Slate+import Rasa.Ext.Slate --- | This is the main of an executable that runs rasa with the given extensions registered to receive event hooks--- --- 'terminalEvents' is an event provider which listens for key-presses etc.+import Control.Monad++-- | This is the main of an executable that runs rasa with any extensions the+-- user wants+-- -- The @do@ block is of type 'Rasa.Ext.Scheduler.Scheduler'+ main :: IO ()-main = rasa [terminalEvents] $ do+main = rasa $ do+  onInit . void $ newBuffer "This is a buffer to get you started!\nYou can also pass command line args to rasa"+  bufs   vim   statusBar   files
rasa-example-config.cabal view
@@ -1,35 +1,38 @@-name:                rasa-example-config-version:             0.1.0.0-synopsis:            Example user config for Rasa-description:         Example user config for Rasa-homepage:            https://github.com/ChrisPenner/rasa/-license:             MIT-license-file:        LICENSE-author:              Chris Penner-maintainer:          christopher.penner@gmail.com-copyright:           2016 Chris Penner-category:            Config-build-type:          Simple--- extra-source-files:-cabal-version:       >=1.10+name: rasa-example-config+version: 0.1.1+cabal-version: >=1.10+build-type: Simple+license: MIT+license-file: LICENSE+copyright: 2016 Chris Penner+maintainer: christopher.penner@gmail.com+homepage: https://github.com/ChrisPenner/rasa/+synopsis: Example user config for Rasa+description:+    Example user config for Rasa+category: Config+author: Chris Penner +source-repository head+    type: git+    location: https://github.com/ChrisPenner/rasa+ executable rasa-  hs-source-dirs:      app-  main-is:             Main.hs-  build-depends:       base >= 4.7 && < 5-                     , rasa-                     , rasa-ext-vim-                     , rasa-ext-style-                     , rasa-ext-cursors-                     , rasa-ext-status-bar-                     , rasa-ext-logger-                     , rasa-ext-files-                     , rasa-ext-slate-                     , lens-                     , mtl-  default-language:    Haskell2010-  ghc-options:         -Wall -threaded -rtsopts -with-rtsopts=-N+    main-is: Main.hs+    build-depends:+        base >=4.8 && <5,+        rasa >=0.1.4 && <0.2,+        rasa-ext-bufs >=0.1.1 && <0.2,+        rasa-ext-vim >=0.1.1 && <0.2,+        rasa-ext-style >=0.1.1 && <0.2,+        rasa-ext-cursors >=0.1.1 && <0.2,+        rasa-ext-status-bar >=0.1.1 && <0.2,+        rasa-ext-logger >=0.1.1 && <0.2,+        rasa-ext-files >=0.1.1 && <0.2,+        rasa-ext-slate >=0.1.2 && <0.2,+        lens ==4.14.*,+        mtl >=2.2.1 && <2.3+    default-language: Haskell2010+    hs-source-dirs: app+    ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N -source-repository head-  type:     git-  location: https://github.com/ChrisPenner/rasa