fslaborg / fslaborg/Graphoscope

Implement "copy" functionality for FGraph

Open
#52 2 comments 0 reactions 0 assignees View on GitHub
Difficulty: Intermediate enhancement FsLab Hackathon 2023 Status: In Progress
Dominant language
F#
Stars
16
Forks
6
PR merge metrics
No merged PRs in 30d

Description

**Description**
Our ultimate goal is to leave the decision to use mutation or not to the user. Mutation makes sense for heavy duty operations that run on the cloud. But while developing and working with smaller graphs mutation gets in the way and can be unwieldy to use. The initial step for this is to have a _deep copy_ functionality.

**Pointers**
https://learn.microsoft.com/en-us/dotnet/api/system.object.memberwiseclone?view=net-7.0

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the FGraph definition and the existing mutation operations in the F# source, then review the MemberwiseClone reference linked in the issue. Done means providing a deep-copy operation whose returned graph can be changed without affecting the original; add or run focused tests for that independence.

Written by the indexing model from the issue text.

Assessment

Tech stack
fsharp
Domain
data
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.