Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 321 by eivind.jahren: Strings typed with quotation marks are Ropes in .yi/local/Env.hs
http://code.google.com/p/yi-editor/issues/detail?id=321

What steps will reproduce the problem?
1.Edit .yi/local/Env.hs to and add
str :: String
str = "Hello World"
2. Open yi and try to use one of your custom commands defined in .yi/local/Env.hs

What is the expected output? What do you see instead?
Expected:
   Command runs.
Instead:
   compile error, because str is not of type String but Rope.

Please provide relevant version information:

What version of Yi are you using?
   0.2.6.4
What version of GHC?
   6.12.3-1
What operating system/version?
   Archlinux
Please provide any additional information below.
I have tried to figure out why this happens, but it doesn't seem to be a problem with my imports because GHCI compiles it fine and says it's a String. My workaround is to write str = ['h','e','l',...,'d'].

--
Yi development mailing list
[email protected]
http://groups.google.com/group/yi-devel

Reply via email to