Browse Source

Ported code from BFLib to BFLibCore.

Made name changes where appropriate.
master
Craig Oates 4 years ago
parent
commit
4c44fe0258
4 changed files with 6 additions and 7 deletions
  1. +1
    -1
      BFLibCore/BFLibCore.fsproj
  2. +4
    -0
      BFLibCore/FunkyFishCore.fs
  3. +0
    -5
      BFLibCore/Library.fs
  4. +1
    -1
      BrittleFishCore/ConsoleCommands.fs

+ 1
- 1
BFLibCore/BFLibCore.fsproj View File

@ -5,7 +5,7 @@
</PropertyGroup>
<ItemGroup>
<Compile Include="Library.fs" />
<Compile Include="FunkyFishCore.fs" />
</ItemGroup>
</Project>

+ 4
- 0
BFLibCore/FunkyFishCore.fs View File

@ -0,0 +1,4 @@
module FunkyFishCore
let LibraryTest1 x y = x + y
let LibraryTest2 x y z = (x * y) * z
let LibraryTest3 name = "Hello " + name

+ 0
- 5
BFLibCore/Library.fs View File

@ -1,5 +0,0 @@
namespace BFLibCore
module Say =
let hello name =
printfn "Hello %s" name

+ 1
- 1
BrittleFishCore/ConsoleCommands.fs View File

@ -4,7 +4,7 @@
open System
open Console.Waterworks.Core
open Console.Waterworks.Core.Attributes
open FunkyFish // This is where the "LibraryTest" functions are -- in BFLib
open FunkyFishCore // This is where the "LibraryTest" functions are -- in BFLibCore
[<ListCommand>]
[<Description "Display a message to the console signifying the program is running as intended.">]


Loading…
Cancel
Save