PureScript

Comments Off on PureScript

“`purescript
module Main where

import Prelude
import Effect (Effect)
import Control.Monad.Eff (liftIO)

main :: forall eff. Eff (console :: CONSOLE | eff) Unit
main = liftIO $ putStrLn “Hello, World!”
“`

In this PureScript code:

  1. module Main where declares the module name as ‘Main’.
  2. The lines starting with import ... are import statements, importing necessary modules (Prelude, Effect, and Control.Monad.Eff).
  3. main :: forall eff. Eff (console :: CONSOLE | eff) Unit declares the main function with a polymorphic effect type ‘eff’, specifying that it uses the console effects.
  4. liftIO $ putStrLn "Hello, World!" is the main logic of the program, which prints “Hello, World!” to the console using the putStrLn function wrapped in liftIO. The liftIO function allows us to run IO operations within PureScript’s effect system.
    Prompt
    NSFW, young woman, beautiful face, standing, great body, gorgeous figure, long legs, pretty eyes, long hair, learns PureScript programming language, beautiful background, magnificent scenery, Roy Hamilton style, HD, sharp focus, stunningly beautiful, Dripping Paint Splatter Art, dramatic, paint drips, splatters, dripping paint

    Negative prompt
    (worst quality, low quality, normal quality, lowres, low details, oversaturated, undersaturated, overexposed, underexposed, grayscale, bw, bad photo, bad photography, bad art:1.4), (watermark, signature, text font, username, error, logo, words, letters, digits, autograph, trademark, name:1.2), verybadimagenegative, bad_prompt_version2-neg, easynegative, FastNegativeV2, ugly, deformed, noisy, blurry, low contrast, extra eyes, bad eyes, ugly eyes, imperfect eyes, deformed pupils, deformed iris, cross-eyed, poorly drawn face, bad face, fused face, ugly face, worst face, unrealistic skin texture, out of frame, poorly drawn hands, cloned face, double face, blurry, bad quality

    Text model: granite3.2

Image model: WildCardXXLAnimation