Let's say we have the following data:
hobby :: { name :: String }
hobby = { name: "Football" }Before visible type applications we could write this:
| //> using scala 3.5 | |
| //> using jar "dv_3_latest.jar" | |
| //> using dep "org.typelevel::cats-effect:3.7.0" | |
| //> using dep "com.lihaoyi::ujson:4.0.0" | |
| //> using dep "com.thesamet.scalapb::scalapb-runtime:1.0.0-alpha.3" | |
| import cats.effect.{IO, IOApp} | |
| import cats.syntax.all.* | |
| import com.doordash.dv.DVClient | |
| import com.doordash.dv.entity.* |
| //> using scala 2.13 | |
| //> using jar "dv_2.13.jar" | |
| //> using dep "org.typelevel::cats-core:2.12.0" | |
| //> using dep "org.typelevel::cats-effect:3.5.4" | |
| //> using dep "com.lihaoyi::ujson:4.0.0" | |
| //> using dep "com.thesamet.scalapb::scalapb-runtime:1.0.0-alpha.3" | |
| import cats.effect.{IO, IOApp, Resource} | |
| import cats.syntax.all._ | |
| import com.doordash.dv.DVClient |
| //> using scala 3.5 | |
| //> using jar "dv_3.jar" | |
| //> using dep "org.typelevel::cats-core:2.12.0" | |
| //> using dep "org.typelevel::cats-effect:3.5.4" | |
| //> using dep "com.lihaoyi::ujson:4.0.0" | |
| //> using dep "com.thesamet.scalapb::scalapb-runtime:1.0.0-alpha.3" | |
| import cats.effect.{IO, IOApp, Resource} | |
| import cats.syntax.all.* | |
| import com.doordash.dv.DVClient |
| ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBH+PGmOOSfcfU5B2KF3PSbmahEka7QeLOH/FhpRJx2JwBu8w0M7dnPryIZulO3ErPsX2r+vFDq8+YHROexI7ZlE= Github-SSH-Key@secretive.YM7QTMXPD9Mac.local |
| module Sentence.Biz.Types.ObjectMap | |
| ( ObjectMap(..) | |
| , empty | |
| , isEmpty | |
| , size | |
| , singleton | |
| , insert | |
| , lookup | |
| , toUnfoldable | |
| , toAscUnfoldable |
| module BuildTime.GetMDXFiles where | |
| import Prelude | |
| import Node.FS.Aff (readTextFile, readdir) | |
| import Data.Foldable (for_) | |
| import Node.Glob.Basic (expandGlobsCwd) | |
| import BuildTime.MDXBundler (EsbuildOptions, Extension(Extension), RehypePlugin, RemarkPlugin, addLoader, addRehypePlugins, addRemarkPlugins, bundleMDX, setPlatform) | |
| import Node.Encoding (Encoding(..)) | |
| import Debug (spy) | |
| import Effect.Aff (launchAff_) |
| module GraphQL.FunDeps where | |
| import Prelude | |
| import Data.Either (Either(..)) | |
| import Data.Foldable (foldMap) | |
| import Data.Generic.Rep (class Generic) | |
| import Data.Maybe (Maybe(..)) | |
| import Data.Semigroup.Foldable (intercalateMap) | |
| import Data.String as String |
| module Main where | |
| import Prelude | |
| import Effect (Effect) | |
| import TryPureScript (p, render, text) | |
| import Data.Generic.Rep (class Generic, Constructor, Sum(..), from) | |
| import Data.Reflectable (class Reflectable, reflectType) | |
| import Type.Proxy (Proxy(..)) |
| module SelectionManager where | |
| import Yoga.Prelude.View | |
| import Data.Set (Set) | |
| import Data.Set as Set | |
| import Hooks.UseSelectable (UseSelectable, UseSelectableResult, useSelectable) | |
| type State a = | |
| { selection ∷ Set a |