luckypoem
V2EX  ›  Haskell

如何修复错误“Variable not in scope: md5 :: C8.ByteString -> a0”?

  •  
  •   luckypoem · Nov 23, 2016 · 5999 views
    This topic created in 3481 days ago, the information mentioned may be changed or developed.
    各位好。



    git clone https://github.com/ian-ross/blog ian-ross-blog

    cd ian-ross-blog

    cd build

    i modified blog.hs:

    delete "import System.Locale (defaultTimeLocale)"

    change "import Data.Time.Format (formatTime)" to be

    "import Data.Time.Format (formatTime, defaultTimeLocale)"

    then i ran "ghc --make blog.hs",

    root@AR:/usr/local/ian-ross-blog/build# ghc --make blog.hs

    [1 of 2] Compiling TikZ ( TikZ.hs, TikZ.o )

    TikZ.hs:148:23: error:

    Variable not in scope: md5 :: C8.ByteString -> a0

    root@AR:/usr/local/ian-ross-blog/build#

    那么,如何修复错误“ Variable not in scope: md5 :: C8.ByteString -> a0 ”?
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3177 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 03:00 · PVG 11:00 · LAX 20:00 · JFK 23:00
    ♥ Do have faith in what you're doing.