Coder Social home page Coder Social logo

yogurt-mud's People

Contributors

medeamelana avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

sh-ft bbarkerro

yogurt-mud's Issues

Doesn't compile with newer GHC

diff --git a/Yogurt/Network/Yogurt/IO.hs b/Yogurt/Network/Yogurt/IO.hs
index 9057810..334b22a 100644
--- a/Yogurt/Network/Yogurt/IO.hs
+++ b/Yogurt/Network/Yogurt/IO.hs
@@ -7,6 +7,7 @@ module Network.Yogurt.IO
   ) where

 import System.IO
+import System.IO.Error
 import System.Console.Readline
 import Control.Monad (when, liftM)
 import Data.List (elemIndices)
@@ -45,7 +46,7 @@ splitAtPrompt cs = case elemIndices '\n' cs of

 -- Takes an input method and catches errors, returning results in the Maybe monad.
 maybeInput :: IO String -> IO (Maybe String)
-maybeInput input = fmap Just input `catch` const (return Nothing)
+maybeInput input = fmap Just input `catchIOError` const (return Nothing)

 -- Waits for input, but once the first character is read, waits
 -- no longer than the specified number of ms before giving up.

Original issue reported on code.google.com by [email protected] on 14 Nov 2013 at 10:40

Module name restrictions

It'd be nice if there were no restrictions on module names when yogurt loads a 
module.

Right now the module name must match the filename (e.g. module Foo in Foo.hs) 
because Hint 
provides no API for finding out what the name of the loaded module is.


Original issue reported on code.google.com by [email protected] on 31 Mar 2009 at 8:04

Calling echoln or similar outside hook causes bus error

Opening the following session causes a bus error on my machine:

custard :: Session
custard = session
  { hostName = "localhost"
  , portNumber = 5678
  , mudProgram = \reload -> echoln "Boom!"
  }

Calling echo* within hooks seems fine, as does echo* outside of hooks while 
reloading.


Original issue reported on code.google.com by [email protected] on 31 Mar 2009 at 8:34

Can't compile standalone on Windows (no readline)

What steps will reproduce the problem?

1. cabal install Yogurt -freadline
2. cabal install Yogurt-Standalone
or
1. cabal install Yogurt -f-readline (this works)
2. cabal install Yogurt-Standalone (this fails)


What is the expected output? What do you see instead?

configure: error: readline not found, so this package cannot be built
See `config.log' for more details.
cabal.exe: Error: some packages failed to install:
Yogurt-0.4 depends on readline-1.0.1.0 which failed to install.
Yogurt-Standalone-0.4 depends on readline-1.0.1.0 which failed to install.
readline-1.0.1.0 failed during the configure step. The exception was:
ExitFailure 1


What version of the product are you using? On what operating system?

Haskell Platform 2010.1.0.0, Windows 7 x64, MinGW 5.1.6, and MSYS 1.0.


Please provide any additional information below.

I realize that this isn't strictly a bug with Yogurt, but I was hoping that you 
could offer some advice on how to get it compiling (or point me in the right 
direction). Thanks.

Original issue reported on code.google.com by [email protected] on 16 Jul 2010 at 5:35

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.