lines :: String -> [String]
base Prelude, base Data.List, base Data.String
lines breaks a string up into a list of strings at newline characters. The resulting strings do not contain newlines.
lines :: ByteString -> [ByteString]
bytestring Data.ByteString.Char8
lines breaks a ByteString up into a list of ByteStrings at newline Chars. The resulting strings do not contain newlines.
lines :: ByteString -> [ByteString]
bytestring Data.ByteString.Lazy.Char8
lines breaks a ByteString up into a list of ByteStrings at newline Chars. The resulting strings do not contain newlines. As of bytestring, this function is stricter than its list cousin.
lines :: Text -> [Text]
text Data.Text, text Data.Text.Lazy
O(n) Breaks a Text up into a list of Texts at newline Chars. The resulting strings do not contain newlines.
linesToHtml :: [String] -> Html
html Text.Html
linesToHtml :: [String] -> Html
xhtml Text.XHtml.Strict, xhtml Text.XHtml.Frameset, xhtml Text.XHtml.Transitional
This converts a string, but keeps spaces as non-line-breakable, and adds line breaks between each of the strings in the input list.
Lines :: PrimitiveMode
OpenGL Graphics.Rendering.OpenGL.GL.BeginEnd
Treats each pair of vertices as an independent line segment. Vertices 2n-1 and 2n define line n. N/2 lines are drawn.
LineSeparator :: GeneralCategory
base Data.Char
Zl: Separator, Line
module Graphics.Rendering.OpenGL.GL.LineSegments
OpenGL Graphics.Rendering.OpenGL.GL.LineSegments
This module corresponds to section 3.4 (Line Segments) of the OpenGL 2.1 specs.
LineSmooth :: HintTarget
OpenGL Graphics.Rendering.OpenGL.GL.Hints
lineSmooth :: StateVar Capability
OpenGL Graphics.Rendering.OpenGL.GL.LineSegments
Controls whether line antialiasing is enabled. The initial state is Disabled.
lineStipple :: StateVar (Maybe (GLint, GLushort))
OpenGL Graphics.Rendering.OpenGL.GL.LineSegments
Line stippling masks out certain fragments produced by rasterization; those fragments will not be drawn. The masking is achieved by using three parameters: the repeat count (1st element of the lineStipple pair, clamped to the range [ 1 .. 256 ]), the 16-bit line stipple pattern (2nd element), and an integer stipple counter s. The counter s is reset to 0 at before the first action during renderPrimitive is called and before each line segment during renderPrimitive is generated. It is incremented after each fragment of a unit width aliased line segment is generated or after each i fragments of an i width line segment are generated. The i fragments associated with count s are masked out if testBit pattern (( s / factor ) mod 16) is False, otherwise these fragments are sent to the frame buffer. Bit zero of the pattern is the least significant bit, i.e. it is used first. Antialiased lines are treated as a sequence of rectangles of height 1 for purposes of stippling. Whether rectangle s is rasterized or not depends on the fragment rule described for aliased lines, counting rectangles rather than groups of fragments. The initial value of lineStipple is Nothing, i.e. line stippling is disabled. An InvalidOperation is generated if lineStipple is set during renderPrimitive.
LineStrip :: PrimitiveMode
OpenGL Graphics.Rendering.OpenGL.GL.BeginEnd
Draws a connected group of line segments from the first vertex to the last. Vertices n and n+1 define line n. N-1 lines are drawn.
LineStyle :: QuadricDrawStyle
OpenGL Graphics.Rendering.OpenGL.GLU.Quadrics
unlines :: [String] -> String
base Prelude, base Data.List, base Data.String
unlines is an inverse operation to lines. It joins lines, after appending a terminating newline to each.
package hsparklines
Sparklines implementation of smooth and bar graphs Version 0.1.0
package lazysplines
See the source of Numeric.LazySplines.Examples for usage. Version 0.1
package netlines
Enumerator tools for text-based network protocols.  This includes, among other things, an enumeratee to split an incoming stream to a length-limited line stream in a safe manner (i.e. in constant space). Version 1.0.0
package portable-lines
Provides an alternative implementation of the Prelude.lines function that treats the following sequences as newline characters: * "\r\n" (Windows style) * "\r" (Macintosh style, before OS X) * "\n" (Unix style) Haskell's IO system supports both platform-specific line ending conversion (by opening the file in "text mode"), and explicit setting of the newline mode for input and output (see System.IO.hSetNewlineMode).  However: * If you don't know the line ending format in advance, you would have to open the file and detect the newline format manually. * ByteString currently honors neither of these; see Version 0.1
package splines
This is a fairly simple implementation of a general-purpose spline library, just to get the code out there.  Its interface is still mildly unstable and may change (hopefully not drastically) as new needs or better style ideas come up.  Patches, suggestions and/or feature requests are welcome. Version

Show more results